reply_to_message
Compose and send a threaded email reply to a message by UID, addressing the sender or all recipients and quoting the original; preview with dry_run before sending.
Instructions
Reply to a message by uid, the way a mail client does: addresses the sender (or everyone with reply_all), keeps the thread (In-Reply-To and References), adds Re: to the subject and appends the quoted original under your text. Write only your own reply in text, not the quoted part. Outward-facing and cannot be undone: only call it when the user has asked for this exact reply, and use dry_run first to see the recipients and final text.
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": {
"uid": "<uid>",
"text": "<text>"
},
"name": "reply_to_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | uid of the message being answered | |
| text | Yes | Your reply, plain text, without the quoted original | |
| folder | No | Mailbox folder path, e.g. INBOX or Sent | INBOX |
| dry_run | No | Return the composed reply without sending it | |
| reply_all | No |