Send Email
Send an email from the connected Gmail mailbox.
Type
google.gmail.send_emailListed only when a matching connected service is enabled.
Send Email sends a new message from the Gmail mailbox on the Google connection for this block. Recipients, subject, and body can be literals or context variables. Subject and body also support Liquid ({{ path }}).
This starts a new conversation. To stay on an existing thread, use Reply to Email with a threadId.
Configure
| Setting | Description |
|---|---|
| To | Recipient address (required) |
| Subject | Subject line (required) |
| Body | Message body (required). Match Content type |
| Cc (optional) | Carbon-copy addresses |
| Bcc (optional) | Blind carbon-copy addresses |
| Reply-To (optional) | Reply-To header |
| Attachments (optional) | Workspace file(s) to attach |
| Content type | Plain text (default) or HTML |
Handles
| Handle | Role |
|---|---|
| In (target) | Incoming connection |
| Out (source) | Continues after Gmail accepts the send |
Pipe schema
The next block reads this on the data pipe (pipe.value):
| Key | Type | Description |
|---|---|---|
id | text | Gmail message id |
threadId | text | Thread id (store for later replies) |
labelIds | list | Labels Gmail applied to the sent message |