Skip to main content
The Get Message by ID action retrieves one Gmail message. It accepts either Gmail’s internal message ID or an RFC 822 Message-ID, making it useful with Gmail triggers as well as IDs received from other mail systems.

Quick start

1

Connect Gmail

Choose an account that can read the message.
2

Provide the identifier

Connect a Gmail Message ID, or supply an RFC 822 message ID such as a value from an email’s Message-ID header.
3

Choose attachment behavior

Enable Download Attachments only when later actions need the files.
4

Use the content

Prefer Plain Text for text processing and HTML when preserving the message’s formatting.

Inputs

RFC 822 IDs are looked up across the mailbox, including Spam and Trash. Gmail IDs are loaded directly.

Outputs

Attachments is conditional. Turning off Download Attachments removes that output from the node and avoids downloading file bodies.

Troubleshooting

Use the Gmail ID returned by a Gmail action or trigger, or a complete RFC 822 Message-ID. The connected account must contain the message.
A message can contain only one of those MIME formats. Use the format the sender supplied, or add fallback logic when processing varied mail.