Documentation Index
Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt
Use this file to discover all available pages before exploring further.
GmailResource browses messages, threads, and labels via the Gmail API.
Both runtimes share the same OAuth config: a Google Cloud clientId / clientSecret plus a long-lived refreshToken for the user. Setup steps live at Google Workspace Credentials.
Node
Browser
Config
| Field | Default | Notes |
|---|---|---|
clientId | required | Google OAuth client ID. |
clientSecret | required | Google OAuth client secret. Redacted in snapshots. |
refreshToken | required | User’s refresh token. Redacted in snapshots. |
refreshFn | built-in | Optional override for the access-token refresh callback. |
Mount mode
read. Partial write (drafts, labels) is exposed via Python and may land in TS in a future release.
For the mounted layout (labels, dates, attachments) see the Python Gmail docs.