send
Pack: postmark · Endpoint: https://gateway.pipeworx.io/postmark/mcp
Send a single email.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
from | string | yes | |
to | string | yes | |
subject | string | no | |
htmlbody | string | no | |
textbody | string | no | |
tag | string | no | |
replyto | string | no | |
cc | string | no | |
bcc | string | no | |
headers | array | no | |
trackopens | boolean | no | |
trackLinks | string | no | |
messagestream | string | no |
Example call
Arguments
{
"from": "[email protected]",
"to": "[email protected]",
"subject": "Welcome to our service",
"htmlbody": "<html><body><p>Hello!</p></body></html>",
"textbody": "Hello!"
}
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","arguments":{"from":"[email protected]","to":"[email protected]","subject":"Welcome to our service","htmlbody":"<html><body><p>Hello!</p></body></html>","textbody":"Hello!"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('send', {
"from": "[email protected]",
"to": "[email protected]",
"subject": "Welcome to our service",
"htmlbody": "<html><body><p>Hello!</p></body></html>",
"textbody": "Hello!"
});
More examples
{
"from": "[email protected]",
"to": "[email protected]",
"subject": "Order confirmation",
"htmlbody": "<html><body><p>Your order has been confirmed.</p></body></html>",
"textbody": "Your order has been confirmed.",
"tag": "order-confirmation",
"replyto": "[email protected]",
"trackopens": true,
"trackLinks": "HtmlAndText"
}
Response shape
| Field | Type | Description |
|---|---|---|
To | string | Recipient email address |
SubmittedAt | string | ISO timestamp when email was submitted |
MessageID | string | Unique message identifier |
ErrorCode | integer | Error code if submission failed |
Message | string | Status or error message |
Full JSON Schema
{
"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"
}
}
}
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.