Help/Integrations/Gmail / Google Workspace

Gmail / Google Workspace

OAuthCommunication & SupportPersonal connection

Personal connection

Each team member connects their own Gmail / Google Workspace account. On Belay stores a personal credential per user, so Claude accesses data scoped to that individual's permissions.

How to connect

Prerequisites: Make sure the Gmail / Google Workspace API is enabled in your Google Cloud Console project and your account has the necessary access.

1

Gmail uses OAuth. Connect via the OAuth flow (coming soon).

Ready to connect?

Go directly to the integrations page in your dashboard.

Open Integrations →

Permissions (scopes)

These are the data scopes On Belay can be granted for Gmail / Google Workspace. Your org admin controls which scopes are enabled per group.

ScopeDescriptionAccess
https://www.googleapis.com/auth/gmail.readonlyRead emailRead only
https://www.googleapis.com/auth/gmail.sendSend emailRead / Write
https://www.googleapis.com/auth/gmail.labelsManage labelsRead / Write
https://www.googleapis.com/auth/admin.directory.user.readonlyRead directory/contactsRead only

Troubleshooting

"redirect_uri_mismatch" error during OAuth

Your OAuth app's authorized redirect URIs don't include the On Belay callback URL. Add https://app.onbelay.ai/api/oauth-callback/google to the allowed redirect URIs in your OAuth app settings.

"invalid_scope" error

The API or scope isn't enabled in your cloud project. For Google integrations, make sure the relevant API (e.g., Google Ads API, Search Console API) is enabled in Google Cloud Console for your project.

Connected but Claude can't access data

Check that your group has been granted access to this integration in On Belay → Groups → [your group] → Integrations. Also verify the specific scopes your group is permitted to use match what your query requires.

Still stuck? We're happy to help.

Contact support →