Skip to main content
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

For OAuth in a browser, prefer PKCE so secrets stay off the page; the Google setup guide shows the flow.

Config

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.