Tool Reference
GetThread
Retrieve an email thread and its messages.
Starter documentation. Features and account details may differ from this deployment.
GetThread
Retrieve an email thread and its messages. Returns the thread metadata, the inbox the thread belongs to, the labels applied to the thread (e.g. INBOX, UNREAD, STARRED, and any custom labels), and message contents including sender, recipients, subject, body text, and the labels on each individual message. Use this to read the contents of a specific email conversation, to see which labels a thread or message has, or to find out which of the user's inboxes received it before replying.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
threadId | string | Yes | The ID of the email thread to retrieve. |
limit | integer | No | Maximum number of messages to return (default 10). |