Driftglass
← All integrations

Gmail

Email

Let agents send email from the connected Gmail or Google Workspace address, with HTML, CC, BCC and attachments. Driftglass only asks for permission to send: it never reads your inbox.

Actions

1 actions. Call one with POST /v1/tools/{name}/execute or through /mcp.

Send email

writegmail.send_emailmcp: gmail_send_email

Send 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.

ArgumentTypeDescription
torequiredstring[]Recipient addresses, e.g. ["ada@example.com", "Bob <bob@example.com>"].
subjectrequiredstringSubject line.
bodystringPlain-text body.
htmlstringHTML body. When only HTML is given, a plain-text version is derived from it.
ccstring[]CC addresses.
bccstring[]BCC addresses.
reply_tostringReply-To address.
attachmentsobject[]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>"}}'