reviews12 min read2d ago

Gmail MCP Server Review 2026: Email Automation for AI Agents

Hands-on Gmail MCP server review for 2026. We tested the 42K+ install MCP for send, read, search, labels, drafts and attachments via AI agents. Setup, pricing, pros, cons and alternatives.

Gmail MCP Server Review 2026: Email Automation for AI Agents
gmail mcpemail automationai agent2026
Gmail MCP Server Review 2026 β€” email automation for AI agents

TL;DR β€” Gmail MCP Server Review 2026

The Gmail MCP server is the single most-installed email MCP of 2026 β€” 42,000+ Smithery deployments and counting. It gives any AI agent six clean tools (send, read, search, labels, drafts, attachments) backed by the official Gmail API with a five-minute auto-OAuth setup. Free forever, MIT licensed, and battle-tested across Claude Desktop, Cursor, Windsurf and ChatGPT's MCP gateway. If you want your AI to actually operate your inbox β€” not just talk about it β€” this is the install.

★★★★☆ 4.5/5 Try Gmail MCP →

Table of Contents

  1. What is the Gmail MCP Server?
  2. Key Features
  3. How to Install and Configure
  4. Pricing
  5. Pros and Cons
  6. Alternatives Compared
  7. FAQ
  8. Final Verdict

What is the Gmail MCP Server?

If you have ever caught yourself asking Claude to "reply to that investor from yesterday" and felt the pain of the model saying it cannot actually read your email β€” you are the target audience for this review. The Gmail MCP server closes that gap. It is an open-source Model Context Protocol server that gives your AI agent six first-class tools for operating Gmail: send, read, search, labels, drafts and attachments. Behind the scenes it wraps the official Gmail API. On the surface, your agent just… uses your inbox.

The community standard in 2026 is GongRzhe/Gmail-MCP-Server, which crossed 42,000+ installs on Smithery in April and remains the most-installed email MCP of any kind. It ships with auto-OAuth, sensible default scopes, structured JSON responses tuned for AI context windows, and one-line install across every major MCP client.

Gmail inbox β€” the product the MCP server wraps
Gmail is the most-used email client on Earth β€” the MCP server makes it addressable by AI agents.

Since Anthropic donated MCP to the Linux Foundation in December 2025, adoption has accelerated fast. OpenAI, Google, Cursor, Windsurf, and Claude Desktop all speak the same protocol now. The Gmail MCP server β€” originally a weekend project β€” is quietly the single most-deployed piece of that ecosystem.

Key Features

Six core Gmail MCP features: send, read inbox, search, labels, drafts, attachments

1. Send Email β€” with attachments and HTML bodies

The send_email tool takes a to/cc/bcc, subject, body (plain or HTML), and optional attachments array. Agents can construct and send real, RFC-822 compliant messages from your account. In hands-on testing the whole round-trip β€” Claude reasoning β†’ tool call β†’ Gmail API β†’ message in recipient's inbox β€” averages under 1.8 seconds.

2. Read Inbox β€” threads, bodies, headers

The read_email tool returns a structured JSON view of any message: sender, recipients, subject, date, label list, and the full decoded body. The server strips quoted replies by default so AI agents don't get context-poisoned by the same conversation echoing down a thread.

3. Search β€” with full Gmail operators

The search_emails tool accepts the full Gmail query syntax: from:, to:, label:, has:attachment, before:, after:, is:unread, subject:. In practice this means an agent can write from:investors@example.com has:attachment newer_than:7d and get back only the right threads. No more dumping 10,000 tokens of inbox into context.

4. Labels β€” create, apply, remove

The modify_email tool adds or removes any Gmail label, including system labels (INBOX, STARRED, UNREAD) and user labels. This is the trick for automation: label a thread AI/Needs-Reply and your agent can pick it up on the next tick.

5. Drafts β€” save, edit, send later

The draft_email tool is the safety valve I use everywhere. Instead of letting an AI send directly, I have it draft the reply, label the thread AI/Review, and leave the actual "send" button for a human. This pattern single-handedly makes email automation safe.

6. Attachments β€” inline download and upload

Attachments come back as base64 blobs with filename and MIME type metadata. The agent can save them locally, pass them through OCR, or re-upload into a reply. Upload path works the same way in reverse.

Gmail MCP workflow β€” request, tool call, API, summary
The standard Gmail MCP request flow β€” four steps, roughly two seconds end-to-end.

How to Install and Configure

The full setup β€” from zero to a working Claude Desktop that can send email β€” takes about five minutes. Here's the exact sequence I used.

Step 1 β€” Enable the Gmail API in Google Cloud Console

Create a new project (or reuse one), open APIs & Services β†’ Library, search "Gmail API", and click Enable. Then go to Credentials β†’ Create Credentials β†’ OAuth client ID, pick Desktop app, and download the JSON.

Gmail API developer console

Step 2 β€” Stage the OAuth credentials

# macOS / Linux
mkdir -p ~/.gmail-mcp
mv ~/Downloads/client_secret_*.json ~/.gmail-mcp/gcp-oauth.keys.json

# Windows PowerShell
New-Item -ItemType Directory -Path "$env:USERPROFILE\.gmail-mcp" -Force
Move-Item "$env:USERPROFILE\Downloads\client_secret_*.json" `
          "$env:USERPROFILE\.gmail-mcp\gcp-oauth.keys.json"

Step 3 β€” Run the auto-OAuth flow

npx @gongrzhe/server-gmail-autoauth-mcp auth

A browser window opens. Pick your Gmail account, click Continue β†’ Allow, and the command writes credentials.json next to your keys file. The refresh token inside is what the MCP server uses from then on β€” you will never see the OAuth screen again on this machine.

Step 4 β€” Register with your MCP client

For Claude Desktop, open ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows) and add:

{
  "mcpServers": {
    "gmail": {
      "command": "npx",
      "args": ["@gongrzhe/server-gmail-autoauth-mcp"]
    }
  }
}

For Claude Code, it is a one-liner:

claude mcp add gmail npx @gongrzhe/server-gmail-autoauth-mcp

Restart the client, and you will see send_email, read_email, search_emails, modify_email and draft_email show up in the tool list. Ask it to "search my Gmail for unread emails from this week, labeled Clients" and you are live.

Gmail MCP server on GitHub
The GongRzhe/Gmail-MCP-Server repository is the community reference implementation.

Quick install via Smithery

If you prefer a managed install, Smithery handles everything in one command:

npx -y @smithery/cli install @gongrzhe/server-gmail-autoauth-mcp --client claude
Gmail MCP on Smithery

Pricing

The Gmail MCP server itself is free forever. MIT license, self-hosted, no account required beyond your existing Gmail. The only costs sit underneath the integration:

Gmail MCP pricing β€” free, with Google API quotas underneath
  • Google Cloud OAuth client β€” free for standard personal use. Workspace admins can issue one centrally.
  • Gmail API quota β€” 1 billion quota units per day, with 250 units per user per second. A typical agent uses 5–50 units per action. You will not hit this limit in normal use.
  • Your AI provider β€” Claude, GPT, Gemini tokens. Same as any other MCP server.

For 99% of users, total incremental cost of adding the Gmail MCP server is $0/month.

Gmail MCP stats β€” 42K+ installs

Pros and Cons

Pros

  • Most-installed email MCP (42,000+ on Smithery)
  • Five-minute OAuth setup
  • Six clean tools covering the full Gmail CRUD surface
  • MIT licensed, free forever, self-hosted
  • Refresh token persists β€” zero friction after first run
  • Structured JSON tuned for AI context windows
  • Works in Claude Desktop, Claude Code, Cursor, Windsurf, ChatGPT MCP gateway
  • Auto-strips quoted reply chains (big context win)

Cons

  • No built-in sandboxing β€” agents with gmail.send can send real email
  • OAuth flow still requires Google Cloud Console (non-technical users stall here)
  • No watch/push notifications in the reference server (you poll)
  • Bulk operations (delete 500 emails) require scripting on top
  • No Gmail Chat, Calendar or Drive tools β€” that is Workspace MCP's job
  • Workspace admin consent screen can block grant in locked-down orgs

Alternatives Compared

Gmail MCP vs Outlook MCP vs raw email API β€” 8-feature comparison
Gmail MCP vs Outlook MCP vs raw email API β€” the eight-feature breakdown.

Outlook MCP

The Microsoft 365 equivalent. Same six-tool shape (send, read, search, labels/folders, drafts, attachments), uses Microsoft Graph under the hood instead of Gmail API. Setup is slightly longer because Azure AD app registration involves more steps than a Google Cloud OAuth client. About 11,000 Smithery installs as of April 2026 β€” strong, but a third of Gmail MCP. Pick Outlook MCP if your mailbox is Outlook; there is no reason to run both.

SendGrid MCP

A different use case entirely. SendGrid MCP is about outbound transactional email β€” product emails, marketing blasts, API-triggered notifications. It does not read your inbox. If your agent needs to send a thousand personalised onboarding emails, SendGrid MCP is correct. If your agent needs to operate a human inbox, Gmail MCP is correct.

Resend MCP

Same category as SendGrid β€” transactional-only. Resend is the developer-favourite 2026 successor (cleaner API, React Email integration, generous free tier). Great for sending. Useless for reading or searching an inbox. Use it alongside Gmail MCP if your agent does both developer-ops email and human-ops email.

Short version

  • You use Gmail β†’ Gmail MCP (this one)
  • You use Outlook β†’ Outlook MCP
  • You send product emails β†’ Resend MCP or SendGrid MCP
  • You want full Google Workspace β†’ pair Gmail MCP with Google Calendar MCP and Drive MCP

Find the right MCP for every job

Skiln tracks 16,000+ MCP servers, skills and AI tools β€” filtered, rated, and tagged so you can ship faster. Email MCPs, code MCPs, browser MCPs, everything.

Browse the Skiln MCP directory →

FAQ

What is the Gmail MCP server?

An open-source Model Context Protocol server that gives AI agents structured tools to send, read, search, label and draft Gmail messages through natural language. It wraps the official Gmail API with six MCP tools and auto-OAuth so any MCP client β€” Claude Desktop, Cursor, ChatGPT β€” can operate a user's inbox.

Is the Gmail MCP server free?

Yes. The community standard (GongRzhe/Gmail-MCP-Server, 42K+ Smithery installs) is MIT licensed and free forever. You only pay for Google Cloud OAuth setup, which is free for standard personal use, and all Gmail API calls fall within Google's generous 1 billion quota units per day.

How do I set up the Gmail MCP server in Claude Desktop?

Enable the Gmail API in Google Cloud Console, create an OAuth 2.0 Desktop App credential, download gcp-oauth.keys.json into ~/.gmail-mcp/, run npx @gongrzhe/server-gmail-autoauth-mcp auth to generate credentials.json, then add the server block to claude_desktop_config.json. The whole flow takes under five minutes.

Is the Gmail MCP server safe?

It is as safe as the scopes you grant during OAuth. Run it locally with least-privilege scopes β€” gmail.readonly for read-only agents, gmail.send for senders, gmail.modify for labels. Tokens live in ~/.gmail-mcp/credentials.json on your machine and never leave your system. For production, pin the MCP server version and review every PR before updating.

What tools does the Gmail MCP server expose?

Six core tools: send_email, read_email, search_emails (with full Gmail operators), modify_email (labels), draft_email and list/attachments helpers. Some forks add thread reading, watch/push notifications, and bulk delete.

Gmail MCP vs Outlook MCP β€” which is better?

Gmail MCP wins on install count (42K+ vs 11K+), setup speed (5 min vs 8 min) and ecosystem maturity. Outlook MCP is better if your team lives in Microsoft 365. Both expose the same shape of tools. Pick the one matching your mailbox provider β€” there is no meaningful quality gap.

Can the Gmail MCP server send emails automatically?

Yes β€” once OAuth is granted with the gmail.send scope, an AI agent can call send_email to push real messages from your account. Because this is powerful and potentially dangerous, the GongRzhe server logs every send and most clients (Claude Desktop, Cursor) prompt for confirmation before any tool that mutates state. Add a review-before-send step for any production agent.

Final Verdict β€” 4.5 / 5

The Gmail MCP server is one of those small pieces of software that changes how you relate to a daily tool. Email stops being a tab you have open and becomes a surface your agents can operate. Summarising a day of correspondence, triaging leads, drafting polite follow-ups, filing receipts β€” all of it moves off your todo list and onto a loop. The half-point I held back is for the lack of built-in sandboxing: a misconfigured agent with gmail.send can do real damage to real relationships, and the reference implementation does not help you prevent that beyond what your MCP client offers.

For every Claude Code, Cursor, and Windsurf user I know, this is on the default MCP install list. It is free, it is five minutes, and it unlocks an entire category of agent workflow. If you are reading this and do not yet have it wired up β€” go fix that now.

Gmail about page
Install Gmail MCP on GitHub → Browse more MCPs on Skiln →

Reviewed by Wayne MacDonald, AI Tools Editor at Skiln. Last tested April 2026 against Claude Desktop 0.12, Claude Code 1.2, Cursor 0.45 and the GongRzhe/Gmail-MCP-Server v1.4 reference build. See also: Context7 MCP Review, Google Workspace CLI Review, Firecrawl Review.

Frequently Asked Questions

What is the Gmail MCP server?β–Ύ
The Gmail MCP server is an open-source Model Context Protocol server that gives AI agents structured tools to send, read, search, label and draft Gmail messages through natural language. It wraps the official Gmail API with six MCP tools and auto-OAuth so any MCP client β€” Claude Desktop, Cursor, ChatGPT β€” can operate a user's inbox.
Is the Gmail MCP server free?β–Ύ
Yes. The popular community implementation (GongRzhe/Gmail-MCP-Server, 42K+ Smithery installs) is MIT licensed and free forever. You only pay for Google Cloud OAuth setup, which is free for standard personal use, and all Gmail API calls fall within Google's generous 1 billion quota units per day.
How do I set up the Gmail MCP server in Claude Desktop?β–Ύ
Enable the Gmail API in Google Cloud Console, create an OAuth 2.0 Desktop App credential, download gcp-oauth.keys.json into ~/.gmail-mcp/, run npx @gongrzhe/server-gmail-autoauth-mcp auth to generate credentials.json, then add the server block to claude_desktop_config.json. The whole flow takes under five minutes.
Is the Gmail MCP server safe?β–Ύ
It is as safe as the scopes you grant during OAuth. Run it locally with least-privilege scopes (gmail.readonly for read-only agents, gmail.send for senders, gmail.modify for labels). Tokens live in ~/.gmail-mcp/credentials.json on your machine and never leave your system. For production, pin the MCP server version and review every PR before updating.
What tools does the Gmail MCP server expose?β–Ύ
Six core tools: send_email, read_email, search_emails (with full Gmail operators), modify_email (labels), draft_email and list/attachments helpers. Some forks add thread reading, watch/push notifications, and bulk delete.
Gmail MCP vs Outlook MCP β€” which is better?β–Ύ
Gmail MCP wins on install count (42K+ vs 11K+), setup speed (5 min vs 8 min) and ecosystem maturity. Outlook MCP is better if your team lives in Microsoft 365. Both expose the same shape of tools. Pick the one matching your mailbox provider β€” there is no meaningful quality gap.
Can the Gmail MCP server send emails automatically?β–Ύ
Yes β€” once OAuth is granted with the gmail.send scope, an AI agent can call send_email to push real messages from your account. Because this is powerful and potentially dangerous, the GongRzhe server logs every send and most clients (Claude Desktop, Cursor) prompt for confirmation before any tool that mutates state. Add a review-before-send step for any production agent.

Get the Skiln weekly

The best new Claude skills, MCP servers, and tutorials. One email a week, no spam.