Send an email via Gmail
send_gmail_emailSend a real Gmail email immediately after user approval. Compose new messages or reply to existing threads; requires explicit confirmation.
Instructions
SENDS a real email immediately through the authorized Gmail account. This cannot be undone — there is no draft step. Only call this after showing the user the exact to/subject/body and getting explicit confirmation; the call must include confirm: true or it is refused. Either sends a reply within an existing thread (thread_id) or a new email (to + subject). Requires Gmail to be authorized (see GMAIL_SETUP.md).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Optional Cc address(es). | |
| to | No | Recipient email address. Required if thread_id is omitted. | |
| body | Yes | The email body text. | |
| confirm | Yes | Must be true. Set this only after the user has explicitly approved sending this exact email. | |
| subject | No | Subject line. Required if thread_id is omitted; ignored (the thread's own subject is used) otherwise. | |
| thread_id | No | Gmail thread ID to reply within (recipient/subject are inferred from the thread's last message). Omit to send a new email. |