Actions12
Message → Get
AI-generatedSummary
Retrieve a specific Gmail message by its Message ID using the Gmail API with optional token authentication methods.
Inputs
- Authentication — Choose between using a Refresh Token (with auto-refresh) or a Bearer Token (manual) for authenticating the API requests.
- Custom Refresh Token — Optionally override the refresh token from the credentials when using the Refresh Token authentication method.
- Message ID (required) — The unique identifier of the Gmail message to retrieve.
- Options — Optional parameters including a Custom Refresh Token to override credentials, applicable only if Refresh Token authentication is selected.
Output shape
a single JSON object representing the requested Gmail message, including full message details as returned by the Gmail API
The returned object includes the full message payload and metadata. Errors will result in failure unless 'continueOnFail' is enabled, in which case error details are returned per item.
Examples
Example 1: Retrieve full details of a specific Gmail message by its Message ID.
Set Resource to 'Message', Operation to 'Get', provide the 'Message ID', select Authentication method, and optionally specify a custom refresh token.