Reply To Email
reply_to_emailReply to an email by matching a subject keyword; send it, save as draft, or open compose for review in Apple Mail.
Instructions
Reply to an email matching a subject keyword.
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": {
"account": "<account>",
"subject_keyword": "<subject_keyword>",
"reply_body": "<reply_body>"
},
"name": "reply_to_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional CC recipients, comma-separated for multiple | |
| bcc | No | Optional BCC recipients, comma-separated for multiple | |
| mode | No | Delivery mode — "send" (send immediately), "draft" (save silently), or "open" (open compose window for review). Overrides send parameter when set. | |
| send | No | If True (default), send immediately; if False, save as draft. Ignored if mode is set. | |
| account | Yes | Account name (e.g., "Gmail", "Work") | |
| body_html | No | Optional HTML body for rich formatting (bold, headings, links, colors). When provided, the reply is pasted as HTML. The plain 'reply_body' field is still required as fallback text. | |
| reply_body | Yes | The body text of the reply | |
| attachments | No | Optional file paths to attach, comma-separated for multiple (e.g., "/path/to/file1.png,/path/to/file2.pdf") | |
| from_address | No | Optional sender address to use for this reply. Must be one of the account's configured email addresses. When omitted, Mail uses the account's default "Send new messages from" setting. | |
| reply_to_all | No | If True, reply to all recipients; if False, reply only to sender (default: False) | |
| subject_keyword | Yes | Keyword to search for in email subjects |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |