Send Batch
send_batchSend a batch of up to 500 transactional emails in one call to the Postmark delivery API (api.postmarkapp.com/email/batch), passing an array of messages in Postmark field form (From, To, Subject, HtmlBody, TextBody, Tag, MessageStream) and a Postmark server token. Returns one result per message with its MessageID, recipient, and error code. Use it for bulk receipts, digests, or notification sends through Postmark.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"emails": [
{
"to": "user1@example.com",
"from": "sender@example.com",
"subject": "Batch email 1",
"textbody": "Hello user 1"
},
{
"to": "user2@example.com",
"from": "sender@example.com",
"subject": "Batch email 2",
"textbody": "Hello user 2"
}
]
},
"name": "send_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emails | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of items returned. | |
| items | Yes |