Skip to main content
POST
Inboxes - Send Message
This API reference has not been updated for the currently available endpoint.
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

  • Method and path: POST /apis/v1/agentmail/inboxes/{inbox_id}/messages/send
  • Availability: disabled
This endpoint is disabled and cannot be called. Its historical request, schema and pricing declarations are retained for reference.
  • Request URL template: https://api.aisa.one/apis/v1/agentmail/inboxes/{inbox_id}/messages/send
  • inbox_id: path; required
  • Runtime facts: b99ca4149ff3daae12d76cfc531f5283e79e7d7a4e0325efb1f93efd8385607e
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.012 USD per successful request. Your account price may differ; use a request quote where supported. Currently disabled.

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.