send_mail
Sends a plain-text email with optional attachments, choosing the sender account when needed and saving a draft unless confirmed.
Instructions
Send a plain text email, with files attached when 'attachments' is given. Without 'confirm' true nothing is sent: the message is saved as a draft. With more than one Mail account, 'from' must say which one sends. Ask the user when it is not clear. If Mail is not running, applesauce opens it hidden in the background and leaves it open. Sending cannot be undone. On Gmail accounts, Mail may leave a copy in Drafts.
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": "send_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Cc addresses. Each must contain @. | |
| to | Yes | To addresses. Each must contain @. | |
| bcc | No | Bcc addresses. Each must contain @. | |
| body | Yes | Plain text body. | |
| from | No | Sender: an account name, or one address of an account (from list_accounts). | |
| confirm | No | Must be true to send. | |
| subject | Yes | Subject. | |
| attachments | No | Absolute paths of files to attach. At most 10 files, 25 MB for each file and 25 MB in all. Folders, app bundles and files in secret folders (~/.ssh, ~/Library/Keychains and similar) are refused. |