Best for
- Proton Mail users who have Proton Mail Bridge installed and running.
- Users who want to access mail from Claude Desktop, Claude Code, Cline, or another MCP client.
- Users who want a local index, an audit log, and configurable action limits.
This project provides local mail access through Proton Bridge, with a CLI, configurable safety modes, and an audit log. It requires mailbox credentials and can send or organize mail depending on configuration. When used with a cloud model, email text read by the model is sent to that model provider.
Strongest · Documentation 13/20 Weakest · Reliability 7/20
Static review · not runReviewed 2026-12-01
Read the FMRS scoring method →Runtime:Node.js 24+
PROTONMAIL_USERNAME
Your Proton Mail address; get it from your account details.
PROTONMAIL_PASSWORD
Your Proton Bridge password, not your Proton account password; find it in the Bridge app's account mailbox details.
PROTONMAIL_IMAP_HOST
Bridge IMAP host; the standard setting is 127.0.0.1.
PROTONMAIL_IMAP_PORT
Bridge IMAP port; the standard setting is 1143.
PROTONMAIL_IMAP_SECURE
Whether to use a secure IMAP connection; the example standard setting is false.
PROTONMAIL_SMTP_HOST
Bridge SMTP host; the standard setting is 127.0.0.1.
PROTONMAIL_SMTP_PORT
Bridge SMTP port; the standard setting is 1025.
PROTONMAIL_MODE
Safety mode; options include read-only, drafts, assisted, or full. Defaults to full.
PROTONMAIL_READ_ONLY
Set to true for read-only access.
PROTONMAIL_TOOL_TIER
Tool set size; set to core for the smaller tool set.
ALLOW_SEND
Sending permission restriction; when off, email cannot be sent.
PROTONMAIL_APPROVAL
Client approval setting for actions such as sending and deleting; options are off, elicit, or require.
PROTONMAIL_CONFIRM_DESTRUCTIVE
Controls whether destructive actions require confirmed: true.
PROTONMAIL_ALLOWED_ACTIONS
Restricts which actions the server can perform.
PROTONMAIL_AUTO_SYNC
Controls background sync; automatic reply rules depend on background sync.
PROTONMAIL_APPROVAL_TIMEOUT_SECONDS
Timeout for client approval requests; defaults to 120 seconds.
PROTONMAIL_DELEGATION
Enables or disables sending grants; off by default.
PROTONMAIL_EMBEDDINGS_URL
Optional embedding service URL for semantic search.
PROTONMAIL_EMBEDDINGS_MODEL
Model name for the embedding service; defaults to nomic-embed-text.
PROTONMAIL_EMBEDDINGS_ALLOW_REMOTE
Set to true to permit a remote embedding host.
PROTONMAIL_TLS_CA_FILE
Path to a custom TLS CA certificate file for verifying the Bridge certificate.
PROTONMAIL_TLS_INSECURE_HOSTS
List of hostnames allowed to bypass certificate verification.
Install and sign in to Proton Mail Bridge, keep it running, and obtain the separate password provided by Bridge (not your Proton account password). Install Node.js 24 or later, then run npm install -g proton-mail-bridge-client. Run proton-mail-bridge-client setup-claude-desktop for Claude Desktop, or add this configuration to an MCP client that supports stdio and provide the Bridge credentials. The default mode is full, which allows sending; a new Claude Desktop guided setup uses drafts mode.
{
"mcpServers": {
"proton-mail-bridge": {
"command": "proton-mail-bridge-mcp",
"env": {
"PROTONMAIL_USERNAME": "[email protected]",
"PROTONMAIL_PASSWORD": "your-bridge-password",
"PROTONMAIL_IMAP_HOST": "127.0.0.1",
"PROTONMAIL_IMAP_PORT": "1143",
"PROTONMAIL_IMAP_SECURE": "false",
"PROTONMAIL_SMTP_HOST": "127.0.0.1",
"PROTONMAIL_SMTP_PORT": "1025"
}
}
}
}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"proton-mail-bridge": {
"command": "proton-mail-bridge-mcp",
"env": {
"PROTONMAIL_USERNAME": "[email protected]",
"PROTONMAIL_PASSWORD": "your-bridge-password",
"PROTONMAIL_IMAP_HOST": "127.0.0.1",
"PROTONMAIL_IMAP_PORT": "1143",
"PROTONMAIL_IMAP_SECURE": "false",
"PROTONMAIL_SMTP_HOST": "127.0.0.1",
"PROTONMAIL_SMTP_PORT": "1025"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.proton-mail-bridge] command = "proton-mail-bridge-mcp" [mcp_servers.proton-mail-bridge.env] PROTONMAIL_USERNAME = "[email protected]" PROTONMAIL_PASSWORD = "your-bridge-password" PROTONMAIL_IMAP_HOST = "127.0.0.1" PROTONMAIL_IMAP_PORT = "1143" PROTONMAIL_IMAP_SECURE = "false" PROTONMAIL_SMTP_HOST = "127.0.0.1" PROTONMAIL_SMTP_PORT = "1025"
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add proton-mail-bridge -e [email protected] -e PROTONMAIL_PASSWORD=your-bridge-password -e PROTONMAIL_IMAP_HOST=127.0.0.1 -e PROTONMAIL_IMAP_PORT=1143 -e PROTONMAIL_IMAP_SECURE=false -e PROTONMAIL_SMTP_HOST=127.0.0.1 -e PROTONMAIL_SMTP_PORT=1025 -- proton-mail-bridge-mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
Run proton-mail-bridge-client doctor, or ask Claude to run Proton Mail doctor. Confirm that proton-mail-bridge appears in the client's tool list and can retrieve mailbox information.
Once connected, you can ask your AI assistant things like:
Listed from the project's documentation, not tested by this site.
Proton Mail Bridge Client is an MCP server and CLI that accesses Proton Mail through a local IMAP/SMTP connection to Proton Bridge. It supports searching, drafting, sending, and organizing mail, with read-only and drafts modes, an audit log, and undo for some bulk actions. The server and index run locally; email text read by the AI model goes to the model provider unless the model is local.
Manage UniFi Network controllers through MCP.
Manage UniFi networks and devices through MCP.
Ask your affiliate networks in plain English from your AI workspace.
Run 119 Horosa astrology and metaphysics techniques locally.
Source revision e7f95ef0b25c Data synced 2026-12-05 Read the FMRS scoring method Markdown