smtp_reply_message
Reply to an existing email via SMTP while automatically fetching the original to set proper threading headers (In-Reply-To, References, Re: subject).
Instructions
Reply to an existing message via SMTP (fetches original for proper threading). Before calling, show the user a full preview (To, CC, BCC, subject, rendered body, attachments) and get explicit confirmation.
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": {
"message_id": "<message_id>",
"body_text": "<body_text>"
},
"name": "smtp_reply_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body_html | No | Reply body (HTML, optional). Separate field from `body_text`: pass the HTML itself, never wrapped in pseudo-tags like `<body_html>`; the server rejects them. | |
| body_text | Yes | Reply body (plain text). Separate field from `body_html`: never concatenate the two or wrap content in pseudo-tags like `<body_text>`; the server rejects them. | |
| reply_all | No | Reply to all recipients (default: false, reply to sender only) | |
| account_id | No | Account identifier (defaults to `"default"`) | default |
| message_id | Yes | Stable message ID of the message to reply to | |
| attachments | No | Additional file attachments (optional, base64-encoded) | |
| include_original_attachments | No | Include original email's attachments in the reply (default: false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool-specific data payload | |
| meta | Yes | Execution metadata (timestamp, duration) | |
| summary | Yes | Human-readable summary of the operation outcome |