gmail

Send Email

TOOL
Slug
GMAIL_SEND_EMAIL
Version
20261125_00
Toolkit
gmail
Sends an email immediately through Gmail to specified To, Cc, or Bcc recipients, with a subject or body and optional attachments. Supports plain text or HTML and may append the configured Gmail signature; attachments are limited to 20 MiB in total before encoding.
cc
ARRAY<STRING>
Carbon Copy (CC) recipients' email addresses. At least one of 'to'/'recipient_email', 'cc', or 'bcc' must be provided.
Default: []
bcc
ARRAY<STRING>
Blind Carbon Copy (BCC) recipients' email addresses. At least one of 'to'/'recipient_email', 'cc', or 'bcc' must be provided.
Default: []
body
STRING
Email content (plain text or HTML). Either subject or body must be provided for the email to be sent. If HTML, `is_html` must be `True`.
is_html
BOOLEAN
Set to `True` if the email body contains HTML tags.
Default: false
subject
STRING
Subject line of the email. Either subject or body must be provided for the email to be sent.
user_id
STRING
User's email address; the literal 'me' refers to the authenticated user.
Default: "me"
attachment
OBJECT | ARRAY
File(s) to attach. Accepts a single file or a list of files. IMPORTANT: mimetype MUST contain a '/' separator - single words like 'pdf' or 'new' are invalid. Gmail API limits: total message size must not exceed ~25 MB after base64 encoding. Omit or set to null for no attachment. Empty attachment objects (with all fields empty/whitespace) are treated as no attachment.
from_email
STRING
Sender email address for the 'From' header. Provide the connected account's primary email address or a verified alias configured in Gmail's 'Send mail as' settings. When omitted, the action attempts to resolve the primary email address from the authenticated Gmail profile.
recipient_email
STRING
Primary recipient's email address. You can also use 'to' as an alias for this parameter. At least one of 'to'/'recipient_email', 'cc', or 'bcc' must be provided. Use extra_recipients if you want to send to multiple recipients. Use the special value 'me' to send to your own authenticated email address. Must be a full user@domain address; 'me' is not valid here and will fail.
extra_recipients
ARRAY<STRING>
Additional 'To' recipients' email addresses (not Cc or Bcc). Should only be used if recipient_email is also provided.
Default: []
include_signature
BOOLEAN
Append the sender's Gmail signature (the 'Send mail as' signature configured in Gmail settings) to the message body, ahead of any quoted or forwarded content. Skipped when the body already ends with that signature, when no signature is configured, or when the connection lacks permission to read Gmail settings. Set to false to send the body exactly as provided.
Default: true