Send email
write
gmail.send_emailmcp: gmail_send_emailSend an email from the connected Gmail address. Plain text, HTML or both, with CC, BCC, Reply-To and attachments (by URL or base64, 24 MB total). Driftglass cannot read the inbox, so it cannot reply into an existing thread.
| Argument | Type | Description |
|---|---|---|
| torequired | string[] | Recipient addresses, e.g. ["ada@example.com", "Bob <bob@example.com>"]. |
| subjectrequired | string | Subject line. |
| body | string | Plain-text body. |
| html | string | HTML body. When only HTML is given, a plain-text version is derived from it. |
| cc | string[] | CC addresses. |
| bcc | string[] | BCC addresses. |
| reply_to | string | Reply-To address. |
| attachments | object[] | Files to attach: objects with `url` (downloaded by Driftglass) or `filename` + `content_base64`, and optional `mime_type`. |
curl -X POST https://driftglass.io/v1/tools/gmail.send_email/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"to":[],"subject":"<subject>"}}'