Reply Email
reply_emailUse this when the user wants to reply to an email that lives in the Mac's Apple Mail (message ID from list_emails/search_emails). Previews before sending. The reply that is sent holds your text followed by a plain-text quote of the original ("On , wrote:" and the original's lines prefixed with > ), in the same thread; html_body is converted to plain text. If the original has no readable text the reply is sent with your text only and the response says so (quoted_original: false and a warning to relay). To leave the reply in Drafts WITHOUT sending, pass save_as_draft: true: the draft is in the right thread with the Reply/Reply-All recipients and holds the same content (not Mail's styled quote), and send is never called. On either path, if Mail does not keep the text or the quote, the call fails and nothing is sent or saved. create_draft with reply_to_message_id leaves the same kind of draft. For a Microsoft 365 message ID from m365_list_emails, use m365_reply_email. Pass account (from list_emails/search_emails results) to skip scanning other accounts and avoid timeouts on multi-account Macs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Plain-text reply body. | |
| account | No | Account (from the listing) the message is in — pass it to skip scanning other accounts and avoid multi-account timeouts. | |
| confirm | No | Consent gate: the first call previews the reply; call again with confirm=true to actually SEND it — or to save it when save_as_draft is set. | false |
| html_body | No | HTML reply body. Takes precedence over `body` when both are given. It is converted to plain text: a reply is sent, or saved, as text with a plain-text quote of the original. | |
| reply_all | No | Reply to all original recipients instead of just the sender. | false |
| message_id | Yes | Id of the message to reply to (from list_emails/search_emails). | |
| save_as_draft | No | Save the reply in Drafts instead of sending it: your text followed by a plain-text quote of the original, in the right thread, with the Reply/Reply-All recipients. Nothing is sent on this path. | false |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sent | No | False on the draft path — stated explicitly so 'no error' is never read as 'it went out'. | |
| replied | No | ||
| warning | No | Present when the reply went out, or was saved, without the quote. Relay it to the user. | |
| message_id | No | ||
| draft_mailbox | No | Where the draft was left, so the user knows where to look. | |
| draft_subject | No | Subject of the draft that was created. | |
| saved_as_draft | No | True when save_as_draft was used: the reply is in Drafts and nothing was sent. | |
| quoted_original | No | True when the reply (sent, or saved as a draft) holds your text followed by a plain-text quote of the original; false when the original had no readable text and the reply carries your text only. |