compose
Opens a reviewable draft in Apple Mail for new messages, replies, or forwards with a markdown body and attachments, so you send it yourself after checking.
Instructions
Open a draft in Mail.app for new emails, replies, or forwards. This server is draft-only — it cannot send. The user reviews and sends manually. Body is markdown.
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": {
"mode": "<mode>",
"body": "<body>"
},
"name": "compose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | Recipient (new). | |
| body | Yes | Markdown body. | |
| from | No | Sender email (new). Sets the From address; Mail.app applies that account's default signature. | |
| mode | Yes | ||
| subject | No | Subject (new). | |
| email_id | No | Email ID (reply/forward). | |
| reply_all | No | Reply all. | |
| attachments | No | Absolute file paths to attach. To attach files from another email, run download_attachment first and pass the saved paths. |