Send email
Send a plain-text or HTML email from Gmail with optional CC, BCC, attachments, reply-to and send-as alias.
Command in the Google Workspace toolkit · id ooa.google/gmail_send · 11 inputs (3 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | Yes | Google OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| To | Any | Yes | Recipient address(es). | |
| Subject | String | Yes | Subject. | |
| Body | String | No | Body. | |
| Body is HTML | Boolean | No | false | Body is HTML. |
| Cc | Any | No | CC address(es). | |
| Bcc | Any | No | BCC address(es). | |
| Attachments | List | No | File paths to attach (the whole email up to 25 MB). | |
| From | String | No | Send from this address, which must be one of the account's Gmail send-as aliases. | |
| Reply to | Any | No | Address(es) that replies go to, when not the sender. | |
| Endpoint address | String | No | Replaces https://*.googleapis.com for testing or a proxy; leave empty normally. |
Outputs
| Output | Type | What it is |
|---|---|---|
| message_id | String | Gmail message id. |