Skip to content

Google: Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers For more information, see Create and send email messages (https: developers google com workspace gmail api guides sending) — request body — body payload body

Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For more information, see [Create and send email messages](https://developers.google.com/workspace/gmail/api/guides/sending).: request body, field body / payload / body. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers For more information, see Create and send email messages (https: developers google com workspace gmail api guides sending) — request body — body payload body

FieldTypePresenceDescription and constraints
$objectRootThe body of a single MIME message part.
attachmentIdstringOptionalWhen present, contains the ID of an external attachment that can be retrieved in a separate `messages.attachments.get` request. When not present, the entire content of the message part body is contained in the data field.
datastringOptionalThe body data of a MIME message part as a base64url encoded string. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
Format: byte
sizeintegerOptionalNumber of bytes for the message part data (encoding notwithstanding).
Format: int32

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.