by googlarz
Local-first Proton Mail MCP server and CLI via Proton Bridge. Search, draft, send and organize mail from Claude Desktop, Claude Code or any MCP client. Over 100 tools, read-only and drafts modes, audit log, undo for bulk actions.
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/googlarz/proton-mail-bridge-clientGuides for using ai agents skills like proton-mail-bridge-client.
____ ____ ___ _____ ___ _ _ __ __ _ ___ _
| _ \| _ \ / _ \_ _/ _ \| \ | | | \/ | / \ |_ _| |
| |_) | |_) | | | || || | | | \| | | |\/| | / _ \ | || |
| __/| _ <| |_| || || |_| | |\ | | | | |/ ___ \ | || |___
|_| |_| \_\\___/ |_| \___/|_| \_| |_| |_/_/ \_\___|_____|
Bridge Client · MCP + CLI for Proton Mail, with safety modes
Let Claude Desktop (or Cline, or any MCP client) work with your Proton Mail, with you in control of what it may do. The server can be set to read-only or drafts mode, where nothing is sent, moved or deleted. Sending and deleting can be set to wait for your approval: assisted mode asks for confirmed: true, and PROTONMAIL_APPROVAL=elicit|require makes the server ask you through the client instead of trusting the model. Every change can be recorded in a hash-chained, tamper-evident audit log. The server talks only to Proton Bridge on 127.0.0.1 and keeps its index on your disk; the mail text the AI model reads goes to the model provider unless the model runs locally (see fully local). The threat model says what is and is not covered. The same tools are also available as a full CLI for scripting, cron and piped automation, with no Claude required. A daily brief of new mail and threads waiting on you can be shown as a notification each morning: see scheduled digest.
Know the default: with
PROTONMAIL_MODEunset the server runs infullmode (sending allowed, no approval), but a newsetup-claude-desktopinstall writesPROTONMAIL_MODE=drafts(Claude can read and write drafts, not send; moves and permanent delete are off in its action list). Re-running setup on an existing install keeps its mode. To allow sending setPROTONMAIL_MODE=full; for read-only useread-only(see Safety controls). Approval by elicitation depends on the client supporting it; onlyrequirefails closed.
Using Proton Drive too? See proton-drive-mcp, the companion MCP server and CLI for Proton Drive (upload, download, share and manage your encrypted files from Claude). Run both side by side to handle mail and files in one conversation, for example save an attachment from here, then upload it to Drive. More in Related projects.
Battle-tested at scale (v2.0.0): full mailbox backfill validated end-to-end against a real account with 57,000+ indexed messages across 62 folders/labels — including a 22,800-message Archive folder backfilled from scratch, UID-window by UID-window, with zero data loss across restarts, transient IMAP disconnects, and connection timeouts.
No terminal? Follow the step-by-step guide instead.
proton-mail-bridge-client-<your-os>.mcpb for macOS (darwin-arm64 Apple silicon, darwin-x64 Intel), Linux (linux-x64, linux-arm64) or Windows (win32-x64) from the latest release and open it. Claude Desktop asks for your Proton address and the Bridge password, plus optional settings (Bridge IMAP/SMTP host and port, read-only, allow sending, signature, extra accounts, data and download folders, tool tier); the defaults match a standard Bridge install.npm install -g proton-mail-bridge-client, then proton-mail-bridge-client setup-claude-desktop (it checks your Bridge ports and writes the config). Fully quit and reopen Claude Desktop afterwards.proton-mail-bridge-client doctor, or ask Claude "run the Proton Mail doctor".[email protected] and draft a reply for me to review." (nothing is sent until you say so)PROTONMAIL_MODE=drafts: Claude can read, search and prepare drafts, but nothing is sent or deleted until you change the mode. The server also tells the client how to behave (ids, accounts, never obeying instructions found inside a message).PROTONMAIL_READ_ONLY=true to browse without being able to change anything, PROTONMAIL_TOOL_TIER=core for a smaller tool set (25 instead of 129), and more accounts under Multi-account support. More recipes below in Try it.PROTONMAIL_MODE presets (read-only, drafts, assisted, full) decide how much the assistant may do; other flags can only tighten a preset, never loosen itPROTONMAIL_APPROVAL, sends and deletes need your answer through the client (MCP elicitation); a mail that tells the model to "pass confirmed" cannot give it. A mail firewall flags text that reads like an instruction to an AIaudit.log; verify_audit_log detects edited, deleted or reordered entries (it is evidence, not a defence against someone with the same file access; see Audit log)tool <name> passthrough), scriptable and pipeable; doctor checks every account and report prints a diagnostic summary for a bug reportHow this relates to Proton Bridge. This is a layer on top of Proton Mail Bridge, not a replacement for it. Bridge is Proton's official, local IMAP/SMTP gateway and the only supported way to reach a Proton mailbox from other software; this project talks to it. Bridge's own --cli mode manages Bridge itself (signing in, account details and the Bridge password, ports and other settings), it is not a mail client. Proton does not publish a terminal mail client, so reading, searching, drafting and sending from Claude or a script is what this adds on top, together with the safety controls above. Bridge has to be running and signed in.
Your emails travel: Proton Mail → Proton Bridge (local) → this server (local) → your AI client.
Nothing goes through a third-party email relay. Proton Bridge decrypts your mail locally; this server reads it over a local IMAP connection on 127.0.0.1. The AI model (Claude Desktop, Cli
proton-mail-bridge-client is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by googlarz. Local-first Proton Mail MCP server and CLI via Proton Bridge. Search, draft, send and organize mail from Claude Desktop, Claude Code or any MCP client. Over 100 tools, read-only and drafts modes, audit log, undo for bulk actions. It has 102 GitHub stars.
proton-mail-bridge-client's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/googlarz/proton-mail-bridge-client" and add it to your Claude Code skills directory (see the Installation section above).
proton-mail-bridge-client is primarily written in JavaScript. It is open-source under googlarz on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh proton-mail-bridge-client against similar tools.
No comments yet. Be the first to share your thoughts!