gmail_reply_all
Replies to all recipients of the latest message in a Gmail conversation, with optional extra To/Cc/Bcc recipients and draft-only saving.
Instructions
Reply to everyone on the last message of a conversation (or of message_index).
Send is never repeated blind: when Gmail's reaction to Send is unclear the mail is looked up in Outbox / Sent; if that cannot tell, the op fails with error 'send_state_unknown' and nothing is re-sent (check gmail.list folder='sent' before any retry). A result may carry verified_in='outbox' | 'sent' when the send was confirmed that way.
Requires confirm=true (outward-facing or destructive).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Additional Cc recipients. | |
| to | No | Additional To recipients. | |
| bcc | No | Additional Bcc recipients. | |
| body | No | Text written above the quoted message (any Unicode, newlines allowed). | |
| index | No | Row index of the conversation (from gmail.list / gmail.search); omit to use the conversation already open. | |
| query | No | Run this Gmail search first and take `index` from its results. | |
| folder | No | Open this folder/label first and take `index` from it. | |
| confirm | No | Must be true: this action is outward-facing or destructive. | |
| draft_only | No | Save the reply as a draft instead of sending it. | |
| attachments | No | Paths of files on this computer to attach. | |
| drive_files | No | Google Drive files to insert as links: 'name' (found with Drive search) or '/Folder/name' (from My Drive). | |
| message_index | No | Answer this message of the thread (0 = oldest, numbering of gmail.read) through its own header actions; default: the last message. | |
| expect_subject | No | Safety check: the conversation's subject must contain this text (case-insensitive), otherwise nothing is sent (not_found). |