Documentation

Send and reply

An agent can write mail in two ways. The default is a draft that a person reviews before it goes out. Direct send exists for keys that you allowed to send.

Every message leaves from the address of the inbox. The sender address cannot be changed in a request.

Draft first

create_draft saves a message without sending it. A person can read and edit it in the webmail. send_draft sends it.

StepMCP toolHTTP routePermission
Createcreate_draftPOST /v0/inboxes/{inbox_id}/draftsdraft_create
Sendsend_draftPOST /v0/inboxes/{inbox_id}/drafts/{draft_id}/senddraft_send
{
  "to": ["ana@example.com"],
  "cc": ["finance@example.com"],
  "subject": "Invoice for November",
  "text": "Hi Ana,\n\nThe invoice is paid.\n",
  "in_reply_to": "msg_Tq3..."
}

A draft holds to, cc, subject, text, html, in_reply_to and send_at. Set in_reply_to to a message id to make the draft a reply in that thread.

Sending a draft twice sends it once. The draft id works as the idempotency key. After a successful send the draft is deleted. If the send fails, the draft stays.

With the default preset, Read and draft, the agent can create drafts and cannot send them. You send them yourself in the webmail.

Scheduled drafts

Set send_at to an ISO 8601 time, and Pombus sends the draft at that time. Because a scheduled draft sends by itself, creating one needs draft_send as well as draft_create.

Send directly

ActionMCP toolHTTP routePermission
New messagesend_messagePOST /v0/inboxes/{inbox_id}/messages/sendmessage_send
Replyreply_messagePOST /v0/inboxes/{inbox_id}/messages/{message_id}/replymessage_reply or message_send
Reply to allPOST /v0/inboxes/{inbox_id}/messages/{message_id}/reply-allmessage_send
ForwardPOST /v0/inboxes/{inbox_id}/messages/{message_id}/forwardmessage_send

The two direct tools appear in the MCP catalog only when the key holds the permission.

curl -X POST https://mail-api.pombus.com/v0/inboxes/inb_your_id/messages/send \
  -H "Authorization: Bearer pmb_your_key" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: nov-invoice-ana-1" \
  -d '{
    "to": ["ana@example.com"],
    "cc": ["finance@example.com"],
    "bcc": ["archive@example.com"],
    "subject": "Invoice for November",
    "text": "Hi Ana,\n\nThe invoice is attached.\n",
    "attachments": [
      { "filename": "invoice.pdf", "content_type": "application/pdf", "data_b64": "JVBERi0xLjcK..." }
    ]
  }'
{ "message_id": "msg_Lp8...", "thread_id": "thr_2xD..." }
FieldMeaning
toOne address or a list. Required for a new message.
cc, bccOne address or a list.
subjectThe subject.
textThe plain text body.
htmlThe HTML body. When you send only html, Pombus derives the plain text part from it.
attachmentsA list of {filename, content_type, data_b64}. Any file type. At most 100.
inlineImages shown inside the HTML: a list of {content_id, content_type, data_b64}. Needs html.

The MCP tool send_message takes to, cc, bcc, subject and text. reply_message takes message_id and text. HTML, attachments, reply to all and forward are on the HTTP API.

Reply

A reply goes to the sender of the original message when you give no to. The subject defaults to Re: plus the original subject. The reply stays in the same thread.

A key with message_reply and without message_send is reply-only. Its replies always go to the original sender. Any to, cc or bcc in the request is ignored, and "reply_all": true on the reply route is ignored too. The reply-all route itself needs message_send.

Reply to all

Pombus takes To and Cc from the original message and leaves out the inbox's own address. Bcc is never derived. If nobody is left to answer, the request is refused with no_recipient.

Forward

Forward sends the original message's attachments along. You do not upload them again.

Cc and Bcc

Bcc recipients receive the message and are in no header of it. Other recipients cannot see them. They count toward every recipient limit, like To and Cc.

Inline images

RuleValue
TypesPNG, JPEG, GIF. The bytes must match the type.
Size256 KB per image.
Count8 per message.
content_idLetters, digits, ., _, -; up to 128 characters. Reference it in the HTML as cid:<content_id>.

Send once

Add an Idempotency-Key header to send, reply, reply-all and forward. A second request with the same key in the same inbox sends nothing and returns the first message:

{ "message_id": "msg_Lp8...", "thread_id": "thr_2xD...", "deduped": true }

What is refused

A refused send uses no quota.

StatuscodeCauseWhat to do
400no_recipientNo recipient.Add to.
400too_many_recipientsMore recipients than the limit per message.Split the send.
400bad_fieldA field has the wrong form: bad base64, an inline image without html, more than 100 attachments.Fix the request.
400recipient_refusedThe mail server refused an address.Check the address. Retrying does not help.
400pod_pausedSending from this space is paused.The Domains screen shows the pause under Sending health.
400domain_send_pausedYou paused sending from this domain.Resume it under Domains.
403suppressedA recipient bounced or reported your mail as spam before. The answer lists them in addresses.Remove those recipients.
403recipient_blockedA recipient is on your send block list. address names it.Remove the recipient, or change the list.
403not_in_allowlistThe key may send only to the send allow list, and address is not on it.Add the recipient to the list in the webmail.
404reply_target_not_foundThe message to reply to does not exist or is not visible to the key.Check the message id.
409domain_not_readyThe inbox is on a custom domain that is not verified yet.Finish the domain setup.
413too_largeThe message is over 25 MB, or an inline image is over 256 KB.Send less.
415unsupported_typeAn inline image is not PNG, JPEG or GIF.Convert the image.
429quota_exceededA sending limit of the 24-hour window is reached. The answer has scope, limit and window_seconds.Wait. Do not retry in a loop.
429reputation_throttledToo many recent sends bounced or were reported as spam. The answer has scope, rate and max_rate.Fix the recipient list. Waiting alone does not help.
502A temporary failure while sending. Nothing was sent.Retry, with the same Idempotency-Key.
503Sending is not available on the server.Retry later.

Through MCP, every 403 and 404 arrives as error: not_found. See Errors and limits.

Limits

Per message

LimitValue
Size, with attachments25 MB
Recipients (To + Cc + Bcc), with an API key10
Recipients, from the webmail50
Attachments100

Per 24 hours

Pombus counts external recipients over a rolling 24-hour window. A message to three people counts as three. Recipients at @pombus.com addresses do not count.

LimitValue
One inbox200 recipients
One space1,000 recipients
A space created less than 24 hours ago25 recipients
All your spaces together, Free plan100 recipients
All your spaces together, Builder500 recipients
All your spaces together, Pro1,000 recipients
All your spaces together, Scale2,000 recipients

The first limit reached refuses the send. scope in the error says which one: inbox, pod (one space), new_pod (a new space) or org (all your spaces together).

Bounces and complaints

When more than 5% of the external recipients of the last 24 hours bounced or reported the mail as spam, Pombus refuses new external sends from that inbox or space with reputation_throttled. The rate is checked only after 20 recipients in the window.

Allow and block lists

Lists say who an inbox can send to and receive from. An entry is an email address or a whole domain.

ListEffect
send / blockSends to these recipients are refused with recipient_blocked.
send / allowUsed by keys in allow-list-only mode: every recipient must be on this list.
receive / blockMail from these senders is hidden.
receive / allowThe first entry hides every other new sender of the inbox.
reply / allow, reply / blockThe same, for replies to mail you sent.
look / allowSilences the look signal for a domain. Nothing else.

In the webmail: Lists. MCP tool: list_list_entries, on connections made through Connect an agent (read only: no agent key can add or remove entries).

A space holds up to 10,000 list entries.

An agent should never add a sender to an allow list, or remove one from a block list, because a message asks for it.

Allow-list-only keys

A key in allow-list-only mode can send only to recipients on the send / allow list. Turn the mode on per key in the webmail under Lists, with Deny by default, per key. See API keys and permissions.

Recipients that Pombus stops sending to

Pombus keeps a list of addresses that bounced or reported mail as spam. A send to any of them is refused with suppressed, and the answer names the addresses.