Send or draft a message
mail_sendCompose and send emails with recipients, attachments, and threading; save a reviewable draft by default, send immediately, or queue in the Outbox for later delivery.
Instructions
Write a message. Saves a reviewable draft unless mode="send".
mode="later" queues it in the Outbox instead. Recipients are one address per
list entry. attachments are paths to files on this machine. A draft still
asks for confirmation, because the identical call with mode="send" would
deliver it. Set reply_to_message_id to thread the message under an existing
one — but mail_reply is usually what you want, since it also quotes.
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": "<body>"
},
"name": "mail_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| bcc | No | ||
| body | Yes | ||
| mode | No | ||
| confirm | No | ||
| is_html | No | ||
| subject | Yes | ||
| priority | No | ||
| attachments | No | ||
| identity_id | No | ||
| request_key | No | ||
| dry_run_only | No | ||
| custom_headers | No | ||
| return_receipt | No | ||
| delivery_format | No | ||
| reply_to_message_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||