Google: Gets the specified message — response body — payload
Gets the specified message.: response body, field payload. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Gets the specified message — response body — payload
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A single MIME message part. |
body | Model | Optional | Expand Gets the specified message attachment — response body The message part body for this part, which may be empty for container MIME message parts. |
filename | string | Optional | The filename of the attachment. Only present if this message part represents an attachment. |
headers | array | Optional | List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as `To`, `From`, and `Subject`. |
headers[] | Model | Each item | Expand Gets the specified message — response body — payload headers item |
mimeType | string | Optional | The MIME type of the message part. |
partId | string | Optional | The immutable ID of the message part. |
parts | array | Optional | The child MIME message parts of this part. This only applies to container MIME message parts, for example `multipart/*`. For non- container MIME message part types, such as `text/plain`, this field is empty. For more information, see RFC 1521. |
parts[] | Model | Each item | Expand Gets the specified message — response body — payload |
Referenced models: Gets the specified message — response body — payload, Gets the specified message attachment — response body, Gets the specified message — response body — payload headers item