Send an email
mail_sendSend a plain-text email from a connected mailbox (a copy is saved in its Sent folder; up to 20 recipients, 100,000 characters). Up to 5 attachments (15 MB in total: PDF, images, documents, zip): either a file from customer storage (service_id, region, bucket, key; any size up to 10 MB) or a small file as content_base64 (up to 700 KB). To reply, pass the message-id of the email in reply_to_message_id. Needs confirm: true after the customer approves the exact recipients, subject and text.
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": {
"email": "<email>",
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "mail_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | Yes | ||
| body | Yes | ||
| Yes | Mailbox address on one of the customer's own domains, e.g. info@example.com. | ||
| confirm | No | Must be true. Set it only after the customer has explicitly confirmed this exact change. | |
| subject | Yes | ||
| from_name | No | ||
| attachments | No | Files to attach. | |
| reply_to_message_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sent | No | ||
| accepted | No | ||
| message_id | No | ||
| saved_to_sent | No |