gmail.getThread returns a conversation with every message parsed.
Pass the threadId returned by a message, trigger, or thread search. A thread ID isn’t interchangeable with a message ID.
Example
automations/read-thread.automation.ts
Inputs
Inputs accept compatible signals.
Output
ReturnsSignal<GmailThread>:
messages follows Gmail’s returned message order. The action downloads attachments for every message as File objects.