Gmail Send Email
gmail_send_emailCompose and send a new Gmail message with plain-text or HTML body and optional attachments; the user approves recipients, subject, and body before sending.
Instructions
Compose and send a new Gmail message, with a plain-text and/or HTML body and optional attachments. To answer an existing message inside its thread use gmail_reply; to save mail for review instead of sending it, use gmail_save_draft. Returns status 'sent' with the new message_id, thread_id and label_ids, or status 'cancelled' if the user declines. The user is always asked to approve the send first (recipients, subject, attachments and the body).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subject": "<subject>",
"to": "<to>"
},
"name": "gmail_send_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Carbon-copy recipient email addresses, visible to every recipient. | |
| to | Yes | Primary recipient email addresses, e.g. ['ana@example.com']; each must be a valid address. | |
| bcc | No | Blind-copy recipient email addresses, hidden from the other recipients. | |
| subject | Yes | Subject line; non-ASCII text is encoded automatically. | |
| html_body | No | HTML body, sent as an alternative to text_body; without text_body the plain-text part is the placeholder 'This message contains HTML content.' | |
| text_body | No | Plain-text body. Pass it together with html_body to send both versions; with neither, the body is empty. | |
| attachments | No | Files to attach, each with exactly one source: uploaded_file (an upload handle from uploads_file_manager) or file_path (local stdio servers only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Machine-readable operation status. | |
| label_ids | No | ||
| thread_id | No | ||
| message_id | No |