Tailflow
Skip to article
Browse documentation

Gmail · Action

Send email

Sends one email from the connected Gmail account to the addresses you give, with a subject and body that can include the event's fields.

When to use it

A message to people who live in their inbox rather than in a chat app: an accountant, a partner, a customer who asked to be told.

At a glance

IntegrationGmail
Credits1
ConnectionGmail, by signing in

Settings

toRequiredAccepts event fields
To. One or more addresses, separated by commas.
subjectRequiredAccepts event fields
Subject.
bodyRequiredAccepts event fields
Body.
ccOptionalAccepts event fields
Cc. One or more addresses, separated by commas. Under More options.
bccOptionalAccepts event fields
Bcc. Sent a copy without the other recipients seeing it. Under More options.
reply_toOptionalAccepts event fields
Reply-to. Where replies go, when not to the connected account. Under More options.
html
Body is HTML. Send the body as HTML. Values from the event are shown as text, never as markup. On or off. Under More options.
from_name
From name. The name shown beside the connected address. Under More options.

What it hands on

Actions run in order, and each one can read what the actions above it produced. This one writes the fields below; a later action reaches them as {{ actions.gmail_send_1.id }} — the action’s key, then which one it is if you use more than one of the same kind.

id
Gmail's id for the sent email.
thread_id
The id of the conversation the email started.

Good to know

  • To, Cc and Bcc each take one or more addresses separated by commas. Write plain addresses such as ops@example.com, without a name in front. A value from the event must be a single address.
  • An address that is not a valid email address, or a subject or address with a line break in it, stops the step before anything is sent.
  • One email can have at most 500 recipients across To, Cc and Bcc.
  • With Body is HTML on, values from the event are shown as text. They cannot add links or formatting of their own.
  • Google limits how much one account may send. A Google Workspace account can send about 2,000 emails a day, and a trial account 500. Past the limit the step fails.
  • A sent email can still bounce. The bounce arrives in the connected inbox, not on the run.