send_batch

Pack: postmark · Endpoint: https://gateway.pipeworx.io/postmark/mcp

Send up to 500 emails.

Parameters

NameTypeRequiredDescription
emailsarrayyes

Example call

Arguments

{
  "emails": [
    {
      "from": "[email protected]",
      "to": "[email protected]",
      "subject": "Batch email 1",
      "textbody": "Hello user 1"
    },
    {
      "from": "[email protected]",
      "to": "[email protected]",
      "subject": "Batch email 2",
      "textbody": "Hello user 2"
    }
  ]
}

curl

curl -X POST https://gateway.pipeworx.io/postmark/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_batch","arguments":{"emails":[{"from":"[email protected]","to":"[email protected]","subject":"Batch email 1","textbody":"Hello user 1"},{"from":"[email protected]","to":"[email protected]","subject":"Batch email 2","textbody":"Hello user 2"}]}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('send_batch', {
  "emails": [
    {
      "from": "[email protected]",
      "to": "[email protected]",
      "subject": "Batch email 1",
      "textbody": "Hello user 1"
    },
    {
      "from": "[email protected]",
      "to": "[email protected]",
      "subject": "Batch email 2",
      "textbody": "Hello user 2"
    }
  ]
});

Response shape

Always returns: items, count

FieldTypeDescription
itemsarray
countintegerNumber of items returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "To": {
            "type": "string",
            "description": "Recipient email address"
          },
          "SubmittedAt": {
            "type": "string",
            "description": "ISO timestamp when email was submitted"
          },
          "MessageID": {
            "type": "string",
            "description": "Unique message identifier"
          },
          "ErrorCode": {
            "type": "integer",
            "description": "Error code if submission failed"
          },
          "Message": {
            "type": "string",
            "description": "Status or error message"
          }
        }
      }
    },
    "count": {
      "type": "integer",
      "description": "Number of items returned."
    }
  },
  "required": [
    "items",
    "count"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "postmark": {
      "url": "https://gateway.pipeworx.io/postmark/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 9, 2026