Skip to main content
POST
Inboxes - Send Message
Sends a new email from one inbox and returns message_id and thread_id. Takes to, cc, bcc, subject, text, html, labels and attachments. 🔴 This sends real email and it cannot be recalled. Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created, so the sending address may not be one you created — check get_agentmail_inbox first. To answer an existing message use post_agentmail_inbox_message_reply; to write without sending, post_agentmail_inbox_draft.

Example

First time? Point any MCP client at https://mcp.aisa.one/mcp — Claude Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client opens a browser, you click Allow once, and there is no key to paste. Your agent then reaches every endpoint through a few meta tools: search, list_categories, get_details and batch_quote are free, batch_use is billed per call. Setup per client is in Connect via MCP; the live tool list and what each call costs are on aisa.one/mcp.
Set this endpoint up in your agent →

Request contract

Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.012
  • Cost contract: explicit_zero
  • Settlement evidence source: request_snapshot

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

inbox_id
string
required

The ID of the inbox.

Body

application/json
attachments
SendAttachment · object[]

Attachments to include in message.

bcc

BCC recipient address or addresses.

cc

CC recipient address or addresses.

headers
SendMessageHeaders · object

Headers to include in message.

html
string

HTML body of message.

labels
string[]

Labels of message.

reply_to

Reply-to address or addresses.

subject
string

Subject of message.

text
string

Plain text body of message.

to

Recipient address or addresses.

track_opens
boolean

Track when this message is first opened. Requires a custom domain with tracking enabled and an HTML body. Opens surface as the opened label on the message and as a message.opened event. One pixel is injected per message, not per recipient, so a message with several recipients fires once when any of them opens it, and the event does not identify which one.

Response

Response with status 200

message_id
string
required

ID of message.

thread_id
string
required

ID of thread.