Email · Claude Code
Connect Gmail to Claude Code
Search, read and draft Gmail and Google Workspace email from your AI assistant. Plugsight links Gmail to Claude Code in a few minutes, with no code and no exports.
What you can ask Claude Code about Gmail
How to connect Gmail to Claude Code
- Create a free Plugsight account.
- Connect with a Google app password. The connect page links straight to where you make one.
Then add Plugsight to Claude Code
- In Plugsight, open MCP servers, create one and copy its URL.
- Add it to Claude Code (use your server's URL):
claude mcp add --transport http plugsight https://app.plugsight.app/mcp/YOUR_SERVER_ID - Start Claude Code, type /mcp, choose plugsight and then Authenticate. Your browser opens Plugsight: sign in and click Allow access.
- Add --scope user before the name to use it in every project. Run /mcp again to check that Plugsight is connected.
- No browser (a server or a script)? Create an API key on the MCP server's page and add the server with it instead:
claude mcp add --transport http plugsight https://app.plugsight.app/mcp/YOUR_SERVER_ID --header "Authorization: Bearer YOUR_API_KEY"
Claude Code signs in to Plugsight in your browser: you approve it once. Where no browser can open, use an API key instead. Works with any Claude Code setup.
Full steps and troubleshooting in the docs: Claude Code.
Gmail data available
- Live search across your whole mailbox, with Gmail search syntax
- Full threads, attachments and inline images
- PDF, Word, Excel and PowerPoint attachments read as text
- Drafts, replies and forwards saved to your Drafts
- Sending, when you switch it on and approve each email
- Archive, label and mark emails read or unread
Why use Gmail in Claude Code
- Combine your data with scripts and files
- Automate recurring reports
- Ideal for analysts and developers
Questions about Gmail and Claude Code
How do I connect Gmail to Claude Code?
Create a free Plugsight account and connect Gmail: Connect with a Google app password. The connect page links straight to where you make one. Then add Plugsight to Claude Code: In Plugsight, open MCP servers, create one and copy its URL. Add it to Claude Code (use your server's URL): claude mcp add --transport http plugsight https://app.plugsight.app/mcp/YOUR_SERVER_ID Start Claude Code, type /mcp, choose plugsight and then Authenticate. Your browser opens Plugsight: sign in and click Allow access. Add --scope user before the name to use it in every project. Run /mcp again to check that Plugsight is connected. No browser (a server or a script)? Create an API key on the MCP server's page and add the server with it instead: claude mcp add --transport http plugsight https://app.plugsight.app/mcp/YOUR_SERVER_ID --header "Authorization: Bearer YOUR_API_KEY"
Can Claude Code read my Gmail data?
Yes, once connected. Claude Code can see: Live search across your whole mailbox, with Gmail search syntax; Full threads, attachments and inline images; PDF, Word, Excel and PowerPoint attachments read as text; Drafts, replies and forwards saved to your Drafts. For example, ask: "Find every invoice we received from suppliers this quarter and list the totals."
Which Claude Code plans work?
Works with any Claude Code setup.
How does Claude Code sign in to Plugsight?
Claude Code signs in to Plugsight in your browser: you approve it once. Where no browser can open, use an API key instead.
Can Claude Code change anything in Gmail?
Only if you allow it. Reading is always on; sending or making changes is off until you switch it on for this connection and your MCP server, and each action then needs your approval in the chat.
Is the Gmail connector free?
Yes. Gmail works on the Free plan, which includes 2 connections and 1 MCP server, with no credit card. Pro adds more connections and the marketing sources.
Good to know
- Email content is read live and never stored by Plugsight.
Related guides
Connect Gmail to Claude Code
Free plan, no credit card. Set up in about five minutes.
Updated