Send Message
post_agentmail_inbox_message_sendSends 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipient address or addresses. | |
| to | No | Recipient address or addresses. | |
| bcc | No | BCC recipient address or addresses. | |
| html | No | HTML body of message. | |
| text | No | Plain text body of message. | |
| labels | No | Labels of message. | |
| headers | No | Headers to include in message. | |
| subject | No | Subject of message. | |
| inbox_id | Yes | The ID of the inbox. | |
| reply_to | No | Reply-to address or addresses. | |
| attachments | No | Attachments to include in message. | |
| Authorization | Yes | Bearer authentication |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||