Send email
send_emailSend a new email from an inbox. Starts a new thread. Returns {id, thread_id, status, from, to, cc, subject, created_at}; status is "queued" until delivery. Errors: missing_body (give text or html), missing_recipients, invalid_address, invalid_subject, too_many_recipients, recipient_suppressed (address bounced or complained before), daily_send_limit_reached, monthly_send_limit_reached, sending_paused, transport_unavailable (sending not enabled on this server), not_found (inbox). Next: wait_for_email on the same inbox to catch the answer, or create_webhook for message.delivered events.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inbox_id": "<inbox_id>",
"to": "<to>",
"subject": "<subject>"
},
"name": "send_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Copied recipient addresses. | |
| to | Yes | Recipient addresses. | |
| html | No | HTML body. Give text, html or both. | |
| text | No | Plain text body. Give text, html or both. | |
| subject | Yes | ||
| inbox_id | Yes | Inbox id to send from, such as "ibx_01j9...". The From address is the inbox address. |