Back to catalog

Gmail · Productivity

Gmail API / Send message

Sends an email (developers.google.com/gmail/api/reference/rest/v1/users.messages/send): the body is a Message resource whose only field is raw, a base64url-encoded full RFC 2822 message (developers.google.com/gmail/api/guides/sending, "Creating messages"). To build raw: write the complete email as RFC 2822 text (headers To/From/Subject/Content-Type followed by a blank line and the body), then base64url-encode those bytes (standard base64 with '+' -> '-', '/' -> '_', and '=' padding stripped) -- e.g. in Node, Buffer.from(rfc2822Text).toString('base64url').

Private Gateway connection

Data below comes from the configured private Gateway. Provider activation remains governed by its evidence and policy gates.

unverifiedRequest shape unavailableUnverified
Published API evidence
Public metadata only. Response bodies, credentials, and internal review notes are never displayed.

No verification date is claimed. No response capture is claimed.

Request parameters

  • raw body · required

    Base64url-encoded, RFC 2822-formatted email (see description for how to build it).

Sign in to run this operation, inspect live eligibility, and see governed execution and audit evidence. Sign in.

Gmail API / Send message · looot