reply_email
Send a threaded email reply to explicit recipients, with subject validation that prevents replying to the wrong message.
Instructions
Reply to a message, keeping it in the same conversation thread. Recipients are always given explicitly: pass the reply or reply-all set that read_message suggested. This really sends mail.
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": {
"folder": "<folder>",
"uidvalidity": "<uidvalidity>",
"uid": "<uid>",
"expected_subject": "<expected_subject>",
"to": "<to>",
"body": "<body>"
},
"name": "reply_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Cc recipients. For reply-all use suggested_recipients.reply_all.cc from read_message. | |
| to | Yes | Who the reply goes to. For a reply use suggested_recipients.reply.to from read_message; for reply-all use suggested_recipients.reply_all.to. | |
| bcc | No | Addresses, each "a@b.c" or "Name <a@b.c>". | |
| uid | Yes | uid of the message being answered. | |
| body | Yes | Plain-text reply. The quoted original is added underneath. | |
| folder | Yes | Folder of the message being answered. | |
| attachments | No | Absolute paths of files to attach. Only files inside the configured attachment folders are accepted. | |
| uidvalidity | Yes | uidvalidity of that folder from search_messages. | |
| quote_original | No | Include the original message as quoted text. | |
| expected_subject | Yes | The subject of the message being answered or forwarded, as read_message showed it. The server checks it and refuses if it does not match, so the wrong message is never used. |