Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialYesGoogle OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
ToAnyYesRecipient address(es).
SubjectStringYesSubject.
BodyStringNoBody.
Body is HTMLBooleanNofalseBody is HTML.
CcAnyNoCC address(es).
BccAnyNoBCC address(es).
AttachmentsListNoFile paths to attach (the whole email up to 25 MB).
FromStringNoSend from this address, which must be one of the account's Gmail send-as aliases.
Reply toAnyNoAddress(es) that replies go to, when not the sender.
Endpoint addressStringNoReplaces https://*.googleapis.com for testing or a proxy; leave empty normally.

Outputs​

OutputTypeWhat it is
message_idStringGmail message id.