Skip to main content
Version: 3.2.0

Gmail Google-account OAuth

Overview​

Read one Gmail mailbox with a user refresh token, like n8n, without domain-wide delegation.

How it works​

Email Gmail sources accept auth: oauth. The wizard opens Google consent (access_type=offline). Tower stores the refresh token in token and mints an access token on each poll.

Key files​

  • src/protocol/source/email/gmail.client.ts - refresh-token access
  • src/protocol/source/email/gmail.oauth.service.ts - start / callback / session
  • src/protocol/source/email/gmail.oauth.controller.ts - consent routes
  • ui/src/pages/workflows/stepForms/StepInitForm.tsx - Google account; Test connection starts consent
  • ui/src/protocol/tower.mock.ts - demo source Gmail inbox and OAuth start/session
  • docs/user/configuration/gmail-dwd.md - domain-wide delegation how-to (EN / FR)
  • docs/user/configuration/gmail-oauth.md - Sign in with Google how-to (EN / FR)

Known issues​

  • None recorded in the 3.2.0 fragment.

Next steps​

  • None from this release.