Give your AI agent a real Gmail inbox in minutes. Read, search, send, reply, schedule and organize mail using a Google app password, and use the same inbox in every MCP client, not just one.
The Gmail MCP server URL is https://mcpemails.com/api/mcp. MCPEmails is a hosted MCP server: create a Google app password, connect Gmail once in the dashboard, then paste that URL into Claude, ChatGPT or Cursor. In Cursor, add it under mcpServers in ~/.cursor/mcp.json with the field url, and Cursor asks you to sign in, with no API key. The Free plan connects one Gmail inbox, forever, with no card, and works with a personal Google account or Google Workspace.
Gmail connects with a Google app password over IMAP and SMTP. Google only offers app passwords on accounts with 2-Step Verification switched on, so turn that on first, then create one at myaccount.google.com/apppasswords. It is 16 lowercase letters in four groups, and you paste it in place of your normal Google password, which will not work. Revoke it anytime from the same Google page, or delete the inbox in MCPEmails.
Company mailbox on Google Workspace, on your own domain? Connect Google Workspace, and the admin settings that decide it
This applies only to Google sign-in, which is offered on Pro and Business; the default app password connection shows no Google screen. Google reviews apps that request Gmail access, and mcpemails.com has not been through that review, so Google sign-in shows an unverified app screen, with the steps to continue. The connection itself is not time-limited: once connected, an inbox stays connected until you revoke it.
21 action-based MCP tools: send, reply, forward, schedule, and organize. Your agent finishes the job inside Gmail.
List, read and search across folders to find that invoice, summarize a thread, or pull the latest from a sender.
Compose and send real messages, reply in-thread, and forward, directly from your mailbox, not as a draft you finish by hand.
Queue a message to go out at the right time, so your agent can draft now and send on schedule.
Keep the inbox tidy: file mail into folders, flag what matters, archive the rest, or delete on request.
From sign-up to first AI email in a couple of minutes.
Sign up for MCPEmails, no card required. The free plan connects one inbox, forever.
Switch on 2-Step Verification in your Google account if it is not already on, then go to myaccount.google.com/apppasswords and create one. Paste the 16 characters into MCPEmails with your full Gmail address. Spaces in the code do not matter.
Drop https://mcpemails.com/api/mcp into Claude, Cursor or ChatGPT, authorize, and your agent has the inbox.
Prefer a walkthrough with screenshots? How to connect Gmail to Claude
Step-by-step guides: How to connect Claude to your email · Claude IMAP connector guide
More guides: Inbox zero with AI · Give your AI agent an inbox
Use this inbox in your AI app: Claude · ChatGPT · Cursor · VS Code · Codex · Claude Code · Cline · Windsurf · Gemini CLI · All supported apps
Need the server names and ports? Look up IMAP and SMTP settings
Comparing providers first? See the email provider compatibility matrix
ChatGPT reaches Gmail through Any Mailbox, the MCPEmails plugin in the ChatGPT plugin directory.
Google announced official MCP support for its services, including a Workspace MCP server that covers Gmail alongside Drive, Calendar and Chat. We are not going to pretend otherwise. If Gmail is the only mailbox you want an assistant to touch, and your client speaks to Google's server, use it. The reason to point MCPEmails at Gmail instead is that the same server also holds your iCloud, Fastmail, Zoho, Yahoo or company IMAP mailbox, exposes every one of them through one MCP URL, and behaves the same way in Claude, Cursor and ChatGPT. One connector per provider, each with its own auth and its own tool names, is the thing this avoids.
A mailbox connected with an app password sends from its own address. To let your agent send from an alias or another address you own, add it under Send As addresses in the inbox settings in MCPEmails. We email that address a 6-digit code, and it becomes usable once you enter the code. Gmail has to accept the address too, so set it up as a Send mail as address in Gmail first. A From address that is neither the mailbox's own nor verified is refused, not silently rewritten.
Gmail stores labels, not folders. Over IMAP every label appears as a folder, so a message can carry several labels at once and show up in several folders. Moving it means adding one label and removing another, and archiving is simply removing INBOX. Delete puts the message in Gmail's Trash rather than erasing it. If you ask an agent to file mail into a folder that does not exist yet, the label has to be created first, and it will then appear in Gmail on every device.
On a personal Google account the only prerequisite is 2-Step Verification. On a Google Workspace account an administrator can disable app passwords for the whole domain, in which case myaccount.google.com/apppasswords is simply unavailable to you and there is nothing you can do from inside the mailbox. Ask your admin, or connect a different mailbox.
Yes, once something stands between them that speaks Gmail on Claude's behalf. MCPEmails is one such thing: you create a Google app password, paste one MCP URL, and Claude can read, search, send, reply, forward and schedule mail. Google also publishes an official Workspace MCP server covering Gmail. The practical difference is that MCPEmails is not Google-only, so the same URL serves your other mailboxes too.
The URL is https://mcpemails.com/api/mcp, the same in Claude, ChatGPT, Cursor and every other MCP client. The Free plan connects one Gmail inbox with no card, forever. Paid plans add more inboxes.
Yes. Google announced official MCP support for its services, with a Workspace MCP server spanning Gmail, Drive, Calendar and Chat. Use it when Gmail is the only mailbox involved and your client supports it. Choose a third-party server such as MCPEmails when you want several providers behind a single MCP URL, or when you want identical behaviour across Claude, Cursor and ChatGPT.
Yes. Gmail connects over IMAP and SMTP with a Google app password, not your normal Google password. Google only shows app passwords on accounts with 2-Step Verification enabled, so switch that on first, then create one at myaccount.google.com/apppasswords. It takes about a minute.
Google only offers app passwords on accounts with 2-Step Verification switched on, so check that first. On a Google Workspace account an administrator can also switch app passwords off for the whole domain, and then myaccount.google.com/apppasswords stays unavailable whatever you do inside the mailbox. Only your administrator can change that. A personal Gmail account needs nothing more than 2-Step Verification.
Yes. A Workspace mailbox on your own domain connects with an app password exactly like a gmail.com address and behaves identically afterwards. The one condition is administrator policy: the domain has to allow app passwords and IMAP access.
No. Messages are fetched live from Google for each request and handed to your AI client. Your app password is encrypted at rest and message bodies are not retained. Revoking the app password in your Google Account, or deleting the inbox in MCPEmails, ends the connection straight away.
Yes, once Gmail is connected to MCPEmails. Install Any Mailbox from the ChatGPT plugin directory and sign in to MCPEmails. ChatGPT gets only the access you approve, and your mail is fetched live, never stored.
Connect Gmail in minutes. One inbox free forever, no card required.