MCP servers · Gmail · custom connector
Connect Grok Bot (xAI) to Gmail
One line gives Grok Bot (xAI) your Gmail account as tools: 13 endpoints, messages, drafts, labels, called with your own connection. No key in the prompt, a receipt for every call, revoke Grok Bot (xAI)'s access alone any time.
Three steps
- Create a free 0n3 account and connect Gmail. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Grok Bot (xAI). xAI's always-on Grok Bot. Add 0n3 as a custom connector once, and your Bot can use every app you added, around the clock.
- Ask Grok Bot (xAI): whoami. Then: "List messages in Gmail".
Add 0n3 to Grok Bot (desktop app)
- Open Grok Bot on your computer. In the sidebar, click Connect apps.
- At the bottom, click Add a custom connector.
- For Name, type 0n3. For Type, pick Remote HTTPS. For Server URL, type https://0n3.app/mcp.
- Under HTTP headers, add Authorization with the value Bearer <your 0n token>
- Click Add plugin.
Then try it: send your Bot this
- "Use 0n3: who am I, and which apps can you reach?"
- "Every weekday at 8, use 0n3 to list today's CRM appointments and new Stripe payments, and post a summary to me."
The line above carries a placeholder; 0n3.app/install mints a real key named for Grok Bot (xAI) and fills it in.
What Grok Bot (xAI) can then do in Gmail
Messages · Read, search, and manage messages5
List messages
GET /users/me/messagesGet a message
GET /users/me/messages/{messageId}Send a message
POST /users/me/messages/sendTrash message
POST /users/me/messages/{messageId}/trashUntrash message
POST /users/me/messages/{messageId}/untrashDrafts · Create and manage drafts3
Create a draft
POST /users/me/draftsList drafts
GET /users/me/draftsSend a draft
POST /users/me/drafts/sendLabels · Organize with labels2
List labels
GET /users/me/labelsCreate a label
POST /users/me/labelsThreads · View conversation threads2
List threads
GET /users/me/threadsGet a thread
GET /users/me/threads/{threadId}Send email · Send emails0
Send emails
More · Everything else this app exposes.1
Get a profile
GET /users/me/profileGmail in other AI clients
Claude Code + GmailMCP server + skillClaude (desktop & claude.ai) + GmailconnectorChatGPT + Gmailconnector · GPT actionCodex CLI + GmailMCP serverGemini CLI + GmailMCP serverCursor + GmailMCP serverVS Code (Copilot) + GmailMCP serverWindsurf + GmailMCP server
