Gmail (Custom) - Get message content action

The Get message content action gets the full content of a Gmail message. You can identify the message using the Pub/Sub payload from a Gmail push notification or directly from a Gmail message ID. This action requires the https://mail.google.com/ OAuth scope.

Decoded message body content is included alongside the raw base64-encoded data returned by Gmail.

Input

Input fieldDescription
Identify message bySelect to identify the message using Pub/Sub message data or a message ID. Defaults to Pub/Sub message data.
User idEnter the user's email address.
Pub/Sub message dataEnter the base64 encoded data from the Pub/Sub trigger. Shown when Identify message by is set to Pub/Sub message data.

Output

Output fieldDescription
Message IDThe unique ID of the message.
Thread IDThe ID of the thread the message belongs to.
Label IDsThe IDs of labels applied to the message.
SnippetA short excerpt from the message body.
PayloadThe parsed email structure, including MIME headers and body parts. Each body part includes the raw base64-encoded content in Data and the decoded, human-readable text in Decoded content.
Size estimateThe estimated size of the message in bytes.
History IDThe ID of the last history record that modified the message.
Internal dateThe internal Gmail timestamp for the message, in epoch milliseconds.

Last updated: