Skip to content
Claim your free business email
AI and agents

How to connect Claude to email with MCP, and ChatGPT, Cursor and VS Code

The short answer

To connect Claude, ChatGPT or Cursor to email, add an email service's MCP server to the assistant by its address and sign in with OAuth when the browser opens. For Rasket the address is https://api.rasket.com/mcp. The assistant then gets tools to send, read received mail and work a shared inbox, limited to the scopes you approve.

By Rasket TeamLast updated 6 min read

Written for AI automation builders and developers

What connecting an assistant to email gives it

An MCP server is how an assistant finds and calls another service's tools by itself. Connect one for email, and Claude, ChatGPT, Cursor or VS Code can send a message, read mail that arrived, look up what happened to a send, and work a shared support inbox while you talk to it. If MCP is new to you, what MCP is explains the protocol first.

Rasket's server is at https://api.rasket.com/mcp. The same address works in every client below, because every client signs in the same way: it opens a browser, you sign in to Rasket, pick the team, and approve the scopes. No API key goes into the assistant, its settings or the chat.

How the sign-in works

MCP's authorization is built on OAuth 2.1.[1] The client asks for access to one resource, the server's own address, and the specification requires clients to send that address in both the authorization request and the token request, so a token issued for Rasket's server is good for nothing else.[1]

On Rasket, what you approve decides what the assistant can do:

  • One team. The token is issued for the team you pick, and nothing on another team is visible to it.
  • Only the scopes you approve. A tool whose scope you did not approve is not a tool that refuses. It is not registered for that connection at all.
  • Revocable at any moment. Settings, Team, Authorized apps lists every connected assistant, and removing one ends its access at once.

Connect Claude

On claude.ai, open Rasket in Claude's directory, choose Connect, sign in to Rasket, pick the team and approve. In a chat, turn Rasket on from the connectors in the + menu. If you would rather add it by hand, Claude's help centre puts custom connectors under Customize, then Connectors, then + Add and Add custom connector, and says remote connectors usually sign in with OAuth.[2] Paste https://api.rasket.com/mcp and leave the advanced settings empty.

Claude's help centre lists custom connectors on its Free, Pro, Max, Ultra, Team and Enterprise plans, with Free limited to one, and on Team and Enterprise the owner adds them under Organization settings, then Connectors.[2] Claude Desktop uses the connectors on your claude.ai account, so a connector added there is the one Desktop asks you to sign in to.

Claude Code

Claude Code adds a remote server with one command, and authenticates it from the /mcp menu inside a session, finishing in your browser.[3]

Adding Rasket to Claude Code
# Add the server, then sign in from inside a session
claude mcp add --transport http rasket https://api.rasket.com/mcp

# In Claude Code, run /mcp, choose rasket, and finish the sign-in in your browser

The default scope keeps the server to you in the current project. The project scope shares it with everyone on the project through the project's .mcp.json file, and the user scope makes it yours across every project.[3] Each person still signs in with their own Rasket account.

Sharing the server with a project
# Shared with everyone on the project, in its .mcp.json
claude mcp add --scope project --transport http rasket https://api.rasket.com/mcp

Connect ChatGPT

OpenAI's guide to custom MCP servers starts in ChatGPT's Plugins page: choose the plus button, then Add custom MCP server.[4] Name it Rasket, paste https://api.rasket.com/mcp, choose OAuth as the authentication, then sign in to Rasket, pick the team and approve. OpenAI notes that write actions ask for confirmation by default and that you should connect only to servers you trust.[4]

ChatGPT moves these menus from time to time. If the page you see differs, the MCP reference keeps the current steps.

Connect Cursor

The quickest way is the Add to Cursor button in the MCP reference, a link Cursor opens itself. Cursor asks you to confirm, then opens Rasket's sign-in the first time it uses a tool. Cursor documents OAuth for servers that need it, using the authorization code flow with PKCE.[5]

To configure it by hand, Cursor reads .cursor/mcp.json in a project for that project's tools, and ~/.cursor/mcp.json in your home directory for every project.[5] A remote server needs only its URL:

Rasket in Cursor's mcp.json
{
  "mcpServers": {
    "rasket": { "url": "https://api.rasket.com/mcp" }
  }
}

Leave out any headers block. A key in that file would be a key in a file, which is exactly what the OAuth sign-in exists to avoid.

Connect VS Code

The Add to VS Code button in the MCP reference installs the server in one click, and VS Code asks you to confirm. To add it from inside the editor instead, VS Code's guided flow asks for a server type: choose HTTP and enter the endpoint, then follow its sign-in instructions.[6] Copilot then picks the server's tools when a request needs them, so you do not have to name the server each time.[6]

What to ask first

The first tool on Rasket's server needs no scope and is always there: it returns the setup recipe and says which steps this connection may run, so a new account can be taken from nothing to a verified domain and a first send in one conversation. On an account that is already set up, try asking about mail directly:

Prompts to try once Rasket is connected
Check the support inbox and list every open conversation from the last day,
with one line on what each customer wants.

Read the newest conversation in support@ and save a reply draft for me. Do not send it.

Did the order confirmation I sent to ronald.williams@example.com this morning arrive?

Show me the last five emails that came in to my team, and who they were from.

The tools come in groups. A client that connects with no ?toolset= asks you to approve every group's scopes, and the table shows what each group needs:

Rasket's tool groups, how many tools each holds, and the scopes they need
GroupToolsScopes
setup26team:read, team:write, domains:read, domains:write, webhooks:read, webhooks:write, templates:read, templates:write
send11emails:send, emails:read, suppressions:read, suppressions:write, logs:read
audience30contacts:read, contacts:write, segments:read, segments:write, topics:read, topics:write
marketing26broadcasts:read, broadcasts:write, autopilot:read, autopilot:write, automations:read, automations:write, events:read, events:write, events:send
ai3ai:use
billing1billing:read
inbox9inbox:read, inbox:write
sms8sms:read, sms:send, sms:manage

For email specifically, send_email sends one message, get_email reports what happened to a send, list_received_emails and get_received_email read the mail that arrived, and the Inbox group lists, reads, notes, assigns and replies to shared conversations. A reply from an assistant shows a preview first and sends only when the tool is called again with the token that preview returned, and save_reply_draft leaves the answer in your drafts for a person to send.

Connect for the inbox only

An assistant that only triages support does not need to send campaigns. Add the server a second time with ?toolset=inbox and the connection has the Inbox tools alone, asking only for the Inbox scopes:

A connection narrowed to the Inbox
# Claude Code: the Inbox tools only, under a second name
claude mcp add --transport http rasket-inbox "https://api.rasket.com/mcp?toolset=inbox"

The agent triage guide has a prompt to paste once it is connected: the assistant reads each open conversation, writes a note for your team and leaves a draft where it can answer, and nothing reaches a customer without a person.

Limits, and what it can never do

Limits on each connected assistant, on top of your plan's own
LimitAllowed
Tool calls60 a minute
Single sends (send_email)100 a rolling hour
Campaigns3 a rolling hour
Contact imports5 a rolling hour

Over a limit, the call answers with how many seconds to wait. Every call is an ordinary API request in your logs, naming the tool and the app that ran it.

Some actions have no tool on the server at all, whatever you approve: minting, changing or revoking an API key, changing your plan, billing or who is on your team, deleting a domain, template, segment, campaign or automation, and removing a suppression. A connected assistant cannot be talked into them, because there is nothing to call.

If you are building the agent yourself rather than connecting an assistant, giving an agent its own email address does the same with the API and a webhook, and letting an agent send email with MCP builds an agent loop around this server with a person approving each send.

Frequently asked questions

Do I need an API key to connect Claude to email?

No. Rasket's MCP server accepts OAuth only: the client opens a browser, you sign in, pick the team and approve the scopes, and the assistant holds a token for that one team. No key is pasted into the assistant, its settings or a chat.

Which assistants can connect to Rasket's MCP server?

Any client that speaks MCP over HTTP with OAuth. Claude, Claude Desktop, Claude Code, ChatGPT, Cursor and VS Code all connect to the same address, https://api.rasket.com/mcp, and each signs in the same way through the browser.

Can the assistant read the email I receive?

Yes, with the scopes that allow it. list_received_emails and get_received_email read mail that arrived at your team's receiving addresses, and the Inbox tools read shared conversations. Personal mailboxes and narrowed channels are never reachable by a connected app.

Can the assistant send email without asking me?

send_email sends one message when it is called, so set your client to ask before it runs; ChatGPT asks before write actions by default. A reply to an Inbox conversation and a campaign each need a second call with a preview's token, and save_reply_draft leaves a draft for a person instead.

Can I give the assistant only my support inbox?

Yes, in clients that take a narrowed address. Connect with ?toolset=inbox and the connection has only the Inbox tools and asks only for the Inbox scopes. A claude.ai connector refuses that address, so it connects with every group.

How do I disconnect an assistant?

Open Settings, Team, Authorized apps in the Rasket dashboard and remove it. Its access ends at once, whichever client it was, and connecting it again means signing in and approving the scopes from the start.

Is there a limit on what a connected assistant can send?

Yes. Each connected app has its own budgets on top of your plan: a number of tool calls a minute, single sends an hour, campaigns an hour and imports an hour. Over one, the call answers with how many seconds to wait.

Sources

6 primary sources, each read on the date shown.

See all sources
  1. 1.Authorization (revision 2026-07-28) — Model Context Protocol,
  2. 2.Get started with custom connectors using remote MCP — Claude Help Center,
  3. 3.Connect Claude Code to tools via MCP — Claude Code Docs,
  4. 4.Add custom MCP server — OpenAI,
  5. 5.Model Context Protocol (MCP) — Cursor Docs,
  6. 6.Add and use MCP servers in VS Code — Visual Studio Code,

Keep reading

Written by the Rasket Team. First published ; last checked against its sources . See something out of date? How we correct guides.

Send email that earns its place

Authenticated mail, one-click unsubscribe, and campaigns measured apart from your transactional mail, set up in minutes.