Gmail
Connect Gmail with a static OAuth app, then per-user Connect.
Auth: Static OAuth app (client id + secret) → each user Connect.
MCP: https://gmailmcp.googleapis.com/mcp/v1
Admin: Set up
- Create an OAuth / MCP app at the provider (see notes below)
- In Brain open
/tools→ Gmail → Set up / App settings - Enter client id and secret (scope: this workspace or entire instance, depending on your role)
- Save
Deploy-time env fallback (optional):
| Variable | Purpose |
|---|---|
GOOGLE_MCP_CLIENT_ID | OAuth client id |
GOOGLE_MCP_CLIENT_SECRET | OAuth client secret |
Prefer UI Set up when possible; env remains a host-wide fallback.
Users: Connect
- Open
/tools→ Gmail → Connect - Approve access in the provider UI
- Enable the app for Agent-mode chats
Callback URL
{BRAIN_PUBLIC_URL}/api/connections/gmail/callbackUse a Google OAuth client that allows the Brain callback URL. Mid-turn URI may appear in .eve/gmail-authorize-url.txt.
