imap_reply_to_email
Reply to an email by folder and UID, automatically addressing the original sender, prefixing 'Re:', and preserving threading. Supports reply all.
Instructions
Reply to an existing email identified by folder + uid. Automatically sets the recipient to the original sender, prefixes the subject with "Re:", and preserves threading (In-Reply-To/References). Set replyAll to also include the original recipients. Use this instead of imap_send_email whenever the user is responding to a message already in a mailbox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | UID of the email to reply to | |
| body | No | Alias for 'text' (backward-compat) | |
| html | No | HTML reply content | |
| text | No | Plain text reply content | |
| folder | No | Folder containing the original email | INBOX |
| replyAll | No | Reply to all recipients | |
| accountId | No | Account ID (from imap_list_accounts). Optional if accountName is given or only one account is configured. | |
| accountName | No | Account name instead of accountId. Optional if accountId is given or only one account is configured. | |
| attachments | No | Email attachments |