reply_to_email
Send email replies by searching for messages using subject keywords, with options to include attachments, CC/BCC recipients, and choose delivery modes.
Instructions
Reply to an email matching a subject keyword.
Args: account: Account name (e.g., "Gmail", "Work") subject_keyword: Keyword to search for in email subjects reply_body: The body text of the reply reply_to_all: If True, reply to all recipients; if False, reply only to sender (default: False) cc: Optional CC recipients, comma-separated for multiple bcc: Optional BCC recipients, comma-separated for multiple send: If True (default), send immediately; if False, save as draft. Ignored if mode is set. mode: Delivery mode — "send" (send immediately), "draft" (save silently), or "open" (open compose window for review). Overrides send parameter when set. attachments: Optional file paths to attach, comma-separated for multiple (e.g., "/path/to/file1.png,/path/to/file2.pdf") body_html: Optional HTML body for rich formatting (bold, headings, links, colors). When provided, the reply is pasted as HTML. The plain 'reply_body' field is still required as fallback text.
Returns: Confirmation message with details of the reply sent, saved draft, or opened draft
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | ||
| subject_keyword | Yes | ||
| reply_body | Yes | ||
| reply_to_all | No | ||
| cc | No | ||
| bcc | No | ||
| send | No | ||
| mode | No | ||
| attachments | No | ||
| body_html | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |