Skip to main content
gmail.getMessages returns complete messages for up to 100 immutable Gmail message IDs. The action fetches messages concurrently and returns them in the same order as messageIds. It returns every attachment as a File.

Example

automations/read-messages.automation.ts

Inputs

Inputs accept compatible signals. Limit or partition searches with more than 100 matches before passing their IDs here.

Output

Returns Signal<Message[]>. Each message contains:
The action fails if Gmail can’t retrieve any requested message, so use IDs from the same connected mailbox.