Connect Gmail
Get Started

Connect Gmail

DUGGAI uses OAuth to talk to Gmail on your behalf. Here's exactly what we ask for and why.

We never see or store your Google password. Connection is handled by Composio, our OAuth provider, and the access token is scoped to your account only.

OAuth scopes

When you connect Gmail, DUGGAI asks for these scopes:

ScopeWhat we use it for
gmail.readonlyPull incoming mail to classify and read threads for context.
gmail.modifyApply Smart Inbox labels and mark threads read after you reply.
gmail.composeSave AI-generated drafts to your Drafts folder.
gmail.sendSend replies — only when you click Send, or for contacts you opted into auto-send.
What we never do
We do not delete email. We do not read attachments (we store filenames only and fetch the file on-demand if you open it). We do not export your inbox.

Connecting

  1. From Settings → Integrations, click Connect Gmail.
  2. Pick your Google account in the consent screen.
  3. Review and approve the scopes.
  4. You'll land back in DUGGAI. Initial sync takes 30–90 seconds.

Multiple accounts

DUGGAI supports one Gmail account per DUGGAI account on the current plans. If you need multiple inboxes (e.g. work + personal), create a separate DUGGAI account for each.

Revoking access

You can disconnect at any time from Settings → Integrations. You can also revoke directly from your Google account permissions. Revoking immediately stops new mail from being processed.

Revoking does not delete your data
To delete everything DUGGAI has indexed, use Delete your account. Disconnecting only stops future ingestion.

Outlook and other providers

Outlook is supported through the same OAuth pattern via Composio. Other IMAP providers are not currently supported.