Send
sendSend one transactional email through the Postmark delivery API (api.postmarkapp.com/email) using a Postmark server token. Takes from, to, subject, HTML and text bodies, cc, bcc, reply-to, custom headers, tag, open and link tracking flags, and message stream; returns the Postmark MessageID, submitted-at timestamp, recipient, and error code. Use it to deliver a receipt, password reset, alert, or notification message.
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": {
"to": "recipient@example.com",
"from": "sender@example.com",
"subject": "Welcome to our service",
"htmlbody": "<html><body><p>Hello!</p></body></html>",
"textbody": "Hello!"
},
"name": "send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| tag | No | ||
| from | Yes | ||
| headers | No | ||
| replyto | No | ||
| subject | No | ||
| htmlbody | No | ||
| textbody | No | ||
| trackLinks | No | ||
| trackopens | No | ||
| messagestream | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| To | No | Recipient email address | |
| Message | No | Status or error message | |
| ErrorCode | No | Error code if submission failed | |
| MessageID | No | Unique message identifier | |
| SubmittedAt | No | ISO timestamp when email was submitted |