protonmail-mcp-server
Integrates with ProtonMail via the ProtonMail Bridge to provide tools for reading, searching, sending, replying, forwarding emails, and managing folders.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@protonmail-mcp-serverlist my unread emails from today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
protonmail-mcp-server
A Model Context Protocol server that lets Claude read, search, and send email through a locally running ProtonMail Bridge.
Requirements
ProtonMail Bridge installed and signed in
Python 3.10+
Related MCP server: proton-mail-mcp
Installation
git clone https://github.com/mattias242/protonmail-mcp-server
cd protonmail-mcp-server
uv sync
cp .env.example .envEdit .env:
PROTONMAIL_USERNAME=user@proton.me
PROTONMAIL_PASSWORD=bridge-generated-password # from the Bridge app, not your Proton passwordClaude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"protonmail": {
"command": "uv",
"args": ["run", "--directory", "/path/to/protonmail-mcp-server", "protonmail-mcp"],
"env": {
"PROTONMAIL_USERNAME": "user@proton.me",
"PROTONMAIL_PASSWORD": "bridge-password"
}
}
}
}Claude Code
claude mcp add protonmail -s user -- uv --directory /path/to/protonmail-mcp-server run protonmail-mcpThen set credentials in ~/.claude.json under the protonmail entry's env field.
Available tools (16)
Reading
Tool | Description |
| List all folders and labels (with |
| Count messages and unread in a folder |
| List emails with metadata — paginated ( |
| Fetch full email — supports |
| Fetch headers only, no body (fast) |
| Search by from/subject/date/unread — returns metadata, accepts ISO 8601 dates |
Sending
Tool | Description |
| Send an email (to, subject, body, cc, bcc, reply_to) |
| Reply — sets Re: prefix, In-Reply-To and References headers automatically |
| Forward — sets Fwd: prefix and quotes original |
Management
Tool | Description |
| Mark as read |
| Mark as unread |
| Move to another folder |
| Delete an email |
Folders
Tool | Description |
| Create a new folder |
| Delete a folder (must be empty) |
| Rename a folder |
Testing
# Unit and BDD tests (no Bridge required)
uv run pytest tests/unit/ tests/features/ -v
# Integration tests (requires running Bridge + .env)
uv run pytest tests/integration/ -m integration -vOr test interactively with the MCP Inspector:
npx @modelcontextprotocol/inspector uv run protonmail-mcpOpen http://localhost:6274 → Connect → Tools.
Configuration
All settings use the PROTONMAIL_ prefix and can be set in .env or as environment variables:
Variable | Default | Description |
| — | Your Proton email address |
| — | Bridge-generated password |
|
| IMAP host |
|
| IMAP port |
|
| SMTP host |
|
| SMTP port |
|
| Enable SSL verification |
| — | Path to Bridge cert for pinning |
Technical notes
ProtonMail Bridge v3 exposes:
IMAP on
127.0.0.1:1143— plain TCPSMTP on
127.0.0.1:1026— direct TLS with self-signed certificate
The IMAP connection is persistent (one per server session) with automatic reconnect on timeout. SMTP connects per send.
License
GNU General Public License v3.0 — see LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA read-only MCP server that connects to Proton Mail via Proton Bridge, enabling AI assistants to search, list, and read emails securely without leaving your machine.Last updated4311MIT
- AlicenseAqualityBmaintenanceUnofficial MCP server for Proton Mail (not affiliated with Proton AG) — send, read, search & organize email over SMTP/IMAPLast updated311113MIT
- Flicense-qualityFmaintenanceAn MCP server that connects to ProtonMail via Bridge, enabling AI assistants like Claude to manage your email.Last updated3
- Alicense-qualityCmaintenanceA minimal MCP server for reading, searching, managing, and sending email over IMAP and SMTP.Last updatedMIT
Related MCP Connectors
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
A basic MCP server to operate on the Postman API.
MCP server wrapping the Tesla Fleet API and TeslaMate API
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mattias242/protonmail-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server