replyMessage
Send a threaded email reply with automatic To/Cc handling, subject prefixing, quoting, and optional attachments; enable reply-all to include original recipients.
Instructions
Reply to a message. Automatically handles To/Cc recipients, subject prefix, threading headers, and quoted content. Use replyAll to include all original recipients.
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": {
"messageId": "<messageId>",
"body": "<body>"
},
"name": "replyMessage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Override CC list (if omitted and replyAll, uses original To + Cc minus yourself) | |
| to | No | Override recipient list (if omitted, replies to sender or Reply-To). Each entry must be either 'addr@example.com' or 'Display Name <addr@example.com>'; non-ASCII display names are RFC 2047 encoded automatically. Other RFC 5322 forms (groups, comments, a quoted display name containing a '<') are sent through unencoded. | |
| bcc | No | Optional BCC recipients | |
| body | Yes | The reply body text. Supports plain text or HTML (auto-detected). Use HTML tags like <p>, <br>, <b> for formatted replies. | |
| replyAll | No | If true, reply to all original recipients (To + Cc minus yourself). Default: false | |
| messageId | Yes | The ID of the message to reply to | |
| attachments | No | Optional attachments to include in the reply | |
| includeBodyHtml | No | Whether to include the parsed HTML in the return |