Actions8
- Message Actions
- Thread Actions
Message → Get
AI-generatedSummary
Fetches one Gmail message from the delegated mailbox using its message ID. By default, parses the raw email into message fields; it can also return the raw Gmail API response or include attachment binaries.
Inputs
- Service Account Email (required) — Service account email used to authenticate.
- Private Key (required) — Service account private key.
- Delegated Email (required) — Gmail mailbox to access by impersonation.
- Message ID (required) — ID of the message to fetch.
- Simplify — Defaults to true. Parses the raw email into fields such as from, to, subject, text, and HTML, and removes the raw field. When false, returns the Gmail API response with its raw field.
- Filters: Label IDs — Comma-separated Gmail label IDs. The message is returned only if it has every listed label; otherwise the operation produces no items.
- Options: Download Attachments — Defaults to false. In simplify mode, include parsed attachments with content as binary output properties.
- Options: Attachment Prefix — Defaults to attachment_. Sets the prefix for binary property names, followed by each attachment's zero-based index.
Output shape
Zero or one item containing the message in json, with optional binary attachment properties.
A label mismatch produces no output. With simplification enabled, parsed attachment data remains in json; when attachment downloading is enabled, attachments with content are also added as binary properties.