Skip to content

Postmark

Updated View as Markdown

Inspect a Postmark server, send one transactional email and read outbound message pages or receipts using a customer server API token. Native From, To, content, stream, tracking and metadata fields are preserved. This four-command subset excludes account administration and bulk sends. Accepted messages still require delivery reconciliation; HTTP success with a nonzero provider ErrorCode is refused.

What you can do (4)

What you can do

Available commands: 4 (3 read, 1 write). Enable only the commands your application needs.

Command Effect
Read the server selected by this server token — postmark.server.get Read
Send one native transactional email — postmark.email.send Write
List one explicit page of outbound messages — postmark.messages.list Read
Read one outbound message receipt — postmark.messages.get Read

Connect and use

Connect and use

Open the integration's connection form to check the available credential source. The source has not been resolved for this documentation export. The instructions below apply when using your own provider account.

Get your provider credentials

Follow these steps for Postmark, then enter the issued values in the connection form below.

  1. In Postmark, open the intended Server → API Tokens and copy a Server API token; an Account API token is not interchangeable. Verify the sender signature or domain and select the intended transactional message stream. Paste the server token into this connection’s Postmark API token field, choose commands and save. Start with server.get; email.send requires From, To and text or HTML content. Acceptance does not prove delivery. Create a separate scoped Tooluse.net API key for your AI client; keep the Postmark token out of the MCP URL.

Official credential setup

Where to enter credentials

In the integration page, sign in, choose your workspace and open Connect. If a Credentials choice is shown, select Use my credentials. Fill the following connection fields and save. Provider credentials belong in this form, never in an MCP configuration or tool input.

Connection field Requirement
Postmark API token Required

Open API keys and create a Tooluse.net key for the enabled commands.

Set TOOLUSE_API_KEY in your client and use the shared MCP configuration.

Configure Claude Code, Codex or Cursor once

Permissions and results

If you have more than one workspace, check the selected workspace in the connection or API-key dialog before saving. Roles, enabled commands, expiry and revocation use Tooluse.net's existing permissions. Disabling a connection or revoking a key immediately prevents new calls.

Send one Claude tool_use block per request. Keep the same Idempotency-Key when retrying the same request; use a new key for a new call. The response includes the shared Tooluse.net receipt and Claude tool_result. Check both HTTP status and the returned tool result before treating a call as successful.

Your connection's daily allowance and key permissions also apply. Adding a connection does not make a provider request.

Calls return the shared execution receipt and a Claude tool_result. Provider output varies by operation; consult the provider documentation for its response fields. Unconfirmed calls should be checked before retrying.

Call from your client

Use the shared MCP configuration. Refresh your client's tool list after saving the connection or changing key permissions, then call the returned tool name with the example input below.

Configure Claude Code, Codex or Cursor once

Discover your enabled tools

List permitted tools in Claude format. Read every page using page and size (maximum 100) until all results have been received. Use the returned name, not a catalog capability identifier, in the tool_use block.

curl 'https://api.tooluse.net/v1/tools' \
  -H "Authorization: Bearer $TOOLUSE_API_KEY"

Find this command in the tool list permitted by your key. Replace svc_FROM_YOUR_TOOL_LIST with its returned name. Use a new Idempotency-Key for each new call and retain it when retrying that same call.

HTTP call

curl 'https://api.tooluse.net/v1/tool-calls' \
  -H "Authorization: Bearer $TOOLUSE_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: replace-with-a-new-call-id' \
  --data '{
  "type": "tool_use",
  "id": "toolu_example",
  "name": "svc_FROM_YOUR_TOOL_LIST",
  "input": {}
}'

Send one Claude tool_use block per request. Keep the same Idempotency-Key when retrying the same request; use a new key for a new call. The response includes the shared Tooluse.net receipt and Claude tool_result. Check both HTTP status and the returned tool result before treating a call as successful.

Commands

Read the server selected by this server token — postmark.server.get

Run Read the server selected by this server token with Postmark. This is a read command; it does not grant access beyond the connected account's permissions.

This is a read operation. Provider rate limits and data access rules still apply.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

This tool has no input parameters.

Full JSON Schema

Full JSON Schema

Example input

{}

At most 1 provider requests per invocation; timeout: 30 seconds.

Send one native transactional email — postmark.email.send

Run Send one native transactional email with Postmark. This command can change provider data. Review the target and input before invoking it.

This operation can change provider data. Review the input before allowing an agent to call it.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

Parameter Type Required in parent Description Constraints
body object Required additionalProperties: false
body.From string Required minLength: 1
body.To string Required minLength: 1
body.Cc string Optional
body.Bcc string Optional
body.Subject string Optional
body.TextBody string Optional minLength: 1
body.HtmlBody string Optional minLength: 1
body.ReplyTo string Optional
body.Tag string Optional
body.TrackOpens boolean Optional
body.TrackLinks string Optional enum: ["None","HtmlAndText","HtmlOnly","TextOnly"]
body.MessageStream string Optional
body.Metadata object Optional additionalProperties: true
body.Attachments array Optional
body.Attachments[] object Optional additionalProperties: false
body.Attachments[].Name string Required
body.Attachments[].Content string Required format: "byte"
body.Attachments[].ContentType string Required
body — Required anyOf[1]
body — Required anyOf[2]

Full JSON Schema

Full JSON Schema

Example input

{
  "body": {
    "From": "[email protected]",
    "To": "[email protected]",
    "Subject": "Example",
    "TextBody": "Hello",
    "TrackOpens": false
  }
}

At most 1 provider requests per invocation; timeout: 30 seconds.

List one explicit page of outbound messages — postmark.messages.list

Run List one explicit page of outbound messages with Postmark. This is a read command; it does not grant access beyond the connected account's permissions.

This is a read operation. Provider rate limits and data access rules still apply.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

Parameter Type Required in parent Description Constraints
query object Required additionalProperties: false
query.count integer Required minimum: 1; maximum: 500
query.offset integer Required minimum: 0
query.recipient string Optional
query.tag string Optional
query.fromdate string Optional
query.todate string Optional
query.status string Optional enum: ["queued","sent","processed"]

Full JSON Schema

Full JSON Schema

Example input

{
  "query": {
    "count": 1,
    "offset": 1
  }
}

At most 1 provider requests per invocation; timeout: 30 seconds.

Read one outbound message receipt — postmark.messages.get

Run Read one outbound message receipt with Postmark. This is a read command; it does not grant access beyond the connected account's permissions.

This is a read operation. Provider rate limits and data access rules still apply.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

Parameter Type Required in parent Description Constraints
path object Required additionalProperties: false
path.messageId string Required minLength: 1

Full JSON Schema

Full JSON Schema

Example input

{
  "path": {
    "messageId": "example"
  }
}

At most 1 provider requests per invocation; timeout: 30 seconds.

Errors

Check the key's expiry, revocation, workspace and allowed operations.

Reuse the same idempotency key only for the same request.

The connection or provider limit has been reached. Check the receipt before retrying.

Test the connection

Open the integration's commands below to inspect parameters and examples. Start with a read command for an account or resource you can access. Refresh your client's tool list, use the returned tool name, and check the execution result and usage. Provider charges and permissions still apply. Never test a write against production data without reviewing it.

Official provider documentation

Type to search…

↑↓ navigate↵ selectEsc close