Send a new email
send_messageSends a new email written in Markdown as HTML and plain text, with optional attachments, after checking each recipient against allow_send_to and gateway review. Returns message_id and warnings.
Instructions
Send a new email written in Markdown (sent as HTML plus plain text), optionally with attachments. Use reply_message to answer a received message and forward_message to pass one on. Every recipient must be on allow_send_to; the gateway reviews the mail first and may reject it with review_rejected and reasons. Counts towards the hourly send limit and is saved to Sent. Returns { message_id, warnings }.
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": {
"to": "<to>",
"subject": "<subject>",
"body_markdown": "<body_markdown>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Copy recipients; each must be on allow_send_to | |
| to | Yes | Recipients; every address must be on allow_send_to | |
| bcc | No | Hidden recipients; each must be on allow_send_to | |
| subject | Yes | Subject line | |
| attachments | No | Files to attach: text, base64 or a file from a received message | |
| reply_to_id | No | Message id this answers (threading only; prefer reply_message, which fills in recipients) | |
| body_markdown | Yes | Message body in Markdown |