Connect your Gmail email to Claude & ChatGPT

Gmail has a built-in connector in Claude.ai and ChatGPT, but not in Cursor, Claude Code, Codex, Grok or most other MCP clients. anymailmcp.com brings your Gmail or Google Workspace inbox into any of them with a revocable Google app password, and keeps it next to your other mailboxes in one connector.

Set it up in your AI

Pick your assistant, paste one URL, done

  1. Open Settings → Connectors in Claude Desktop or claude.ai.
  2. Click Add custom connector and paste the URL below.
  3. Click Connect, then sign in with your email (we send you a magic link). You add your mailbox from your profile afterwards.
https://anymailmcp.com/mcp
  • Connects in about a minute
  • Free to start, no card
  • Sign-in happens right in your AI

Before you connect

What you need

2-Step Verification on your Google account

Google only issues app passwords to accounts with 2-Step Verification. Turn it on under Google Account → Security if it is not already.

A Google app password

Open myaccount.google.com/apppasswords, name it (anymailmcp works), and copy the 16-character password. Paste it as the password when you connect; your normal Google password is refused over IMAP by design.

Your Gmail or Workspace address

@gmail.com, @googlemail.com and any custom domain on Google Workspace. We detect Google from your domain’s mail servers, so a Workspace address needs nothing extra unless your admin has switched IMAP off.

Gmail works best with a revocable app password.

Generate an app password

Gmail questions

The specifics for your provider.

Under the hood

Server settings we auto-fill

You never type these. We detect them from your address and verify them live against Gmail’s servers — they’re here for the curious.

Server settings
IMAP
imap.gmail.com:993
SMTP
smtp.gmail.com:465
Encryption
SSL/TLS
Calendar: email-only

Google Calendar’s CalDAV endpoint only accepts OAuth, not app passwords, so we do not attach it. Your assistant reads and sends Gmail; for the calendar, use the native Google Calendar connector where your client has one.

Let Claude read your Gmail inbox

One URL in your assistant and you’re connected in about a minute. Free forever until you outgrow it — no card, no trial clock.

Add Gmail to your AI