AgentMail

Active

by Orthogonal

Email infrastructure for agents.

Infrastructure

Endpoints · 21

Base URLhttps://x402.orthogonal.com/agentmail
GET/v0/inboxes/{inbox_id}/drafts/{draft_id}Not publishedGet a specific draft including its full content, recipients, and attachments.
DELETE/v0/inboxes/{inbox_id}/drafts/{draft_id}Not publishedPermanently delete a draft. Important: pass method: "DELETE" in your run request.
PATCH/v0/inboxes/{inbox_id}/drafts/{draft_id}Not publishedUpdate an existing draft. Only the fields you include will be changed; omitted fields are left unchanged.
POST/v0/inboxes/{inbox_id}/drafts/{draft_id}/sendNot publishedSend an existing draft as an email. The draft is converted to a sent message and deleted from drafts. Returns the message_id and thread_id.
GET/v0/inboxes/{inbox_id}Not publishedGet details of a specific inbox including display name, creation date, and metadata.
PATCH/v0/inboxes/{inbox_id}Not publishedUpdate an existing inbox display name or client ID.
DELETE/v0/inboxes/{inbox_id}Not publishedPermanently delete an inbox and all its contents. Important: pass method: "DELETE" in your run request to distinguish from Get Inbox.
GET/v0/inboxes/{inbox_id}/threads/{thread_id}Not publishedGet a thread and all its messages. Returns the full conversation including message bodies, timestamps, and metadata.
DELETE/v0/inboxes/{inbox_id}/threads/{thread_id}Not publishedMove a thread to trash, or permanently delete if already trashed. Important: pass method: "DELETE" in your run request.
GET/v0/inboxes/{inbox_id}/messages/{message_id}/rawNot publishedGet the original raw RFC 2822 email content including all headers, MIME parts, and encoded attachments.
PATCH/v0/inboxes/{inbox_id}/messages/{message_id}Not publishedUpdate labels on a message (e.g., mark as read, archive, star).
GET/v0/inboxes/{inbox_id}/messages/{message_id}Not publishedGet a specific message including headers, body (text and HTML), attachments, and metadata.
POST/v0/inboxes/{inbox_id}/drafts$0.01Create a new draft in an inbox. The draft can be edited later and sent with Send Draft.
GET/v0/inboxes/{inbox_id}/draftsNot publishedList all drafts in an inbox. Returns draft metadata including subject, recipients, and timestamps.
POST/v0/inboxes/{inbox_id}/messages/{message_id}/reply$0.01Reply to a specific message. Automatically sets In-Reply-To and References headers for proper threading.
POST/v0/inboxes/{inbox_id}/messages/send$0.01Send an email message from an inbox. At least one recipient (to, cc, or bcc) is required. Returns the message_id and thread_id. Replace {inbox_id} directly in t
GET/v0/inboxes/{inbox_id}/threadsNot publishedList all email threads in an inbox, ordered by most recent. Supports pagination and filtering.
POST/v0/inboxes/{inbox_id}/messages/{message_id}/forward$0.01Forward a message to new recipients. Includes the original message content and any attachments.
POST/v0/inboxes/{inbox_id}/messages/{message_id}/reply-all$0.01Reply to all recipients of a message. Includes all original To and CC recipients automatically.
GET/v0/inboxes/{inbox_id}/messagesNot publishedList all messages in an inbox, ordered by most recent. Supports pagination and filtering by labels or time range.
POST/v0/inboxes$2.00Create a new email inbox. Inboxes cost $2/month. Inboxes with no API activity for 30+ days are automatically deleted. Any request using the inbox resets the ina

Call the provider directly and settle x402 per request.

Quickstart · x402 flow

1 · Call without payment. The service replies 402

bash
curl -i https://x402.orthogonal.com/agentmail/v0/inboxes/{inbox_id}/drafts/{draft_id}
Response
HTTP/1.1 402 Payment Required{ "x402Version": 2,  "accepts": [{ "scheme": "exact", "network": "eip155:143",  "asset": "USDC", "maxAmountRequired": "0" }] }

2 · Sign the payment with your agent wallet and retry

bash
curl https://x402.orthogonal.com/agentmail/v0/inboxes/{inbox_id}/drafts/{draft_id} \  -H "X-PAYMENT: <base64 payment payload signed by your EOA>"
Response
HTTP/1.1 200 OK

Any EOA on Monad can pay.

Any APIs or tools listed are provided for discovery purposes only and do not constitute an endorsement or recommendation by the Monad Foundation.