gmail.getMessage returns a complete message by immutable Gmail message ID.
Attachments are always downloaded and returned as File objects. If you only need identifiers, use Search messages instead.
Example
automations/read-message.automation.ts
Inputs
Inputs accept compatible signals.
Output
ReturnsSignal<Message>:
text from html when the source message has no plain-text alternative. receivedAt is Gmail’s mailbox timestamp. sentAt comes from the sender-supplied Date header.
Keep
messageId and rfc822MessageId separate. Gmail actions expect the
immutable Gmail messageId; rfc822MessageId is the value from the email’s
Message-ID header.