GET
gmail_threads_get.py
Requires
https://www.googleapis.com/auth/gmail.modify. Costs 40 against the provider’s own quota.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Read a Gmail thread.
from charter.packs import gmail
result = await gmail.threads_get.ainvoke({"id": ...})
https://www.googleapis.com/auth/gmail.modify. Costs 40 against the provider’s own quota.| Field | Type | Description |
|---|---|---|
userId | string | The user’s email address. The special value ‘me’ can be used to indicate the authenticated user. defaults to "me" |
id * | string | The unique ID of the Gmail thread to retrieve. |
| Field | Type | Description |
|---|---|---|
format | Format | The format to return the messages in. |
metadataHeaders | string[] | When format is ‘METADATA’, only include these headers in the response. |
Was this page helpful?