Use case

Connect your email to AI via the MCP protocol

The Model Context Protocol (MCP) is the open standard that lets AI agents interact with external tools. MailMCP is the bridge between your IMAP/SMTP mailbox and any MCP-compatible AI.

The email problem for AI agents

AI models are powerful, but they are sandboxed. They cannot access your inbox, send messages, or manage contacts on their own. Until now, connecting email to AI required custom code, webhooks, or insecure workarounds.

Proprietary APIs

Gmail API, Microsoft Graph... each provider has its own API, its own authentication, its own rate limits. Building and maintaining integrations is expensive.

Security risks

Sharing app passwords, forwarding to third-party services, giving full mailbox access with no granularity. Current solutions sacrifice security for convenience.

No standard protocol

Every AI tool reinvents the wheel. No interoperability, no portability. Switch from Claude to ChatGPT? Rebuild everything from scratch.

Protocol

What is the MCP protocol?

The Model Context Protocol (MCP) is an open standard created by Anthropic in 2024. It defines how AI models communicate with external tools and data sources. Think of it as USB-C for AI: one universal connector that works with every device.

MCP uses JSON-RPC 2.0 over HTTPS with OAuth2 authentication. An AI agent discovers available tools, calls them with structured parameters, and receives structured responses. No screen scraping, no brittle integrations.

Today, MCP is supported by Claude Desktop, ChatGPT, Cursor, VS Code, Windsurf, n8n, LibreChat and a growing ecosystem of AI clients. Any tool that speaks MCP becomes instantly available to all these clients.

// MCP protocol flow

1. Discovery

GET /mcp/.well-known/

→ Available tools list

2. Authentication

OAuth2 + PKCE

→ Secure token exchange

3. Tool call

POST /mcp/{'{clientId}'}

{

"method": "tools/call",

"params": {

"name": "list_emails",

"arguments": { "limit": 10 }

}

}

4. Response

→ Structured JSON data

How MailMCP implements email + MCP

MailMCP sits between your email server and your AI agent. It translates MCP tool calls into IMAP/SMTP operations in real time, with zero email storage.

8 email tools exposed via MCP

  • list_emails — List recent messages from inbox
  • read_email — Read full message content
  • search_emails — Search by sender, subject, date
  • send_email — Compose and send a new message
  • reply_to_email — Reply to an existing thread
  • forward_email — Forward to another recipient
  • move_email — Move to a specific folder
  • delete_email — Delete or archive a message

Security built in

  • OAuth2 + PKCE authentication for every MCP session
  • AES-256 encryption for stored IMAP/SMTP credentials
  • Zero email content storage — direct IMAP/SMTP transit
  • One-click MCP access revocation from dashboard
  • Full connection logs with IP tracking
  • SSL/TLS mandatory on all connections (993/465)
  • Two-factor authentication (2FA) support
  • Servers hosted in France, GDPR compliant

Connect your email via MCP in 3 steps

From sign-up to your first AI email interaction in under 2 minutes.

1

Create your free MailMCP account

Head to the registration page and create your account. It takes 30 seconds — just an email and a password. No credit card, no commitment. You immediately access the dashboard where you can manage your mailboxes.

2

Add your IMAP/SMTP mailbox

Enter your email address and server credentials. MailMCP auto-detects settings for Gmail, Outlook, Yahoo, OVH, Infomaniak and 20+ providers. The connection is tested instantly with SSL/TLS verification, SPF/DKIM/DMARC validation, and a deliverability score.

IMAP mail.example.com:993 OK
SMTP mail.example.com:465 OK
SPF pass DKIM pass DMARC pass
3

Connect your AI agent

Copy the MCP server URL from your MailMCP dashboard and paste it into your AI client — Claude Desktop, ChatGPT, Cursor, VS Code, Windsurf, or n8n. OAuth2 authentication kicks in automatically: your AI agent requests permission, you approve, and the secure session begins.

// Claude Desktop config

{

"mcpServers": {

"mailmcp": {

"url": "https://mailmcp.io/mcp/your-id"

}

}

}

Why MCP beats the alternatives

Compared to traditional email integrations, MCP via MailMCP offers a fundamentally better architecture.

MailMCP (MCP) Gmail API Zapier / Make
Any email provider Partial
AI-native protocol
No code required
OAuth2 + PKCE security Partial
Zero email storage
Works with Claude, ChatGPT, Cursor... Partial

Compatible with all MCP clients

MailMCP works out of the box with every major AI tool that supports the MCP protocol. One setup, every client.

Claude Desktop

ChatGPT

Cursor

VS Code

Windsurf

n8n

LibreChat

Copilot

Connect your email to AI in 2 minutes

Create your free account, add your mailbox, and let your AI agent handle the rest. No credit card required.

MailMCP Assistant

Powered by DeepSeek

{{ msg.content }}
{{ msg.content }}