Proton Mail MCP logo

Proton Mail MCP

by legalaspro

Manage Proton Mail locally through Bridge with read-only search, drafts, guarded mailbox changes, and optional sending.

Install Proton Mail MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "legalaspro-proton-mail-mcp": {
      "command": "uvx",
      "args": [
        "mcp-proton-mail",
        "connect"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio legalaspro-proton-mail-mcp -- uvx mcp-proton-mail connect

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx mcp-proton-mail connect

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

legalaspro/proton-mail-mcp connects an MCP client to Proton Mail through the local Proton Mail Bridge service. It supports mailbox search, thread and attachment reading, draft creation, and guarded cleanup operations that require a preview and confirmation. Sending is disabled by default and requires additional configuration, while all mailbox writes are recorded in a local append-only audit log. Reach for it when an agent needs Proton Mail access without exposing message handling to a remote service.

Use cases

  • Search a Proton Mail inbox from an MCP client
  • Read threads and save attachments without marking mail read
  • Create replies and forwards as unsent drafts
  • Review and approve mailbox cleanup actions
  • Send approved drafts after enabling sending

Key features

  • Local Proton Mail Bridge connection
  • Read-only search and thread access
  • Draft, reply, and forward creation
  • Preview-based mailbox mutations
  • Undo for supported logged changes
  • Optional guarded draft sending

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · mcp-proton-mail (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit4d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Proton Mail MCP works

What legalaspro/proton-mail-mcp does

legalaspro/proton-mail-mcp gives MCP-compatible assistants access to a Proton Mail account through Proton Mail Bridge running on the same computer. It can search and count messages, read complete threads, and read or save attachments without marking mail as read. It can also create drafts, replies, and forwards that remain unsent until separately approved.

Mailbox maintenance includes moving, archiving, trashing, marking messages read or unread, changing labels, unsubscribing, deleting drafts, and creating folders. Folder rules are available as a beta feature when enabled. MCP Apps-capable clients can receive a thread view, composer, and send-review interface; other clients receive text results.

How it works

The server runs locally and listens only on 127.0.0.1. It uses Proton Mail Bridge credentials and keeps a local index of mail headers to speed up searches. Message bodies are not stored in that index.

Read operations do not require approval and do not alter message state. Mail-changing operations use a two-stage process. A preview reports the proposed target, count, and samples, then issues a short-lived, single-use token bound to the exact messages. The server checks those messages again before applying the change. A confirmation form is then required by default. If the client cannot display forms, mailbox mutations are refused unless confirmation protection is deliberately disabled.

Logged changes can be reversed once with undo_action when the operation supports undo. Every write is appended to an audit log that excludes message bodies, subjects, full addresses, and tokens.

Setup and configuration

The package is available on PyPI as mcp-proton-mail, and uvx can run it without cloning the repository. Guided setup starts with:

sh
uvx mcp-proton-mail setup --client claude-desktop

Setup can also target Claude Code, ChatGPT, Codex, Gemini, Cursor, or Grok Bot. It checks or installs Bridge, stores credentials in the system credential store, starts per-user services, verifies inbox access, and updates the selected MCP client configuration. Proton Mail Bridge requires a paid Proton plan. Supported installation environments include Linux and macOS; Windows use requires consulting the project’s Windows guidance or using WSL2. Python 3.12 or newer is supplied when needed by uv.

Sending remains off unless PROTON_MCP_ENABLE_SEND=1 is set along with PROTON_MCP_SEND_FROM and PROTON_BRIDGE_CERT. Other optional settings control protected senders, new-mail watching, background index synchronization, rules, typed confirmation, and form behavior. PROTON_MCP_PROTECTED_CONFIG can point to a local protected-sender list.

Tools and capabilities

  • Search and count Proton Mail messages.
  • Read threads without marking them seen.
  • Read or save attachments.
  • Create new drafts, replies, and forwards.
  • Preview and confirm mailbox cleanup actions.
  • Move, archive, trash, label, or mark messages read or unread.
  • Create folders and optionally use beta folder rules.
  • Send only approved saved drafts when sending is enabled.
  • Reverse supported logged changes with undo_action.

Limitations and notes

Sending follows a fixed path: create a draft, preview it, and then approve send_draft. Editing the draft after preview causes the send to be rejected. Clients without forms can use typed confirmation for sending when enabled, but the server cannot verify that a human entered the confirmation.

Unsubscribe operations cannot be undone. Deleting drafts is permanent, and creating folders or saving rules cannot be reversed by the server. There is no tool to empty Trash or delete or rename a mailbox. Sieve filter creation always refuses because Bridge cannot apply such filters. The project is unofficial and is not affiliated with Proton AG.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Proton Mail MCP

legalaspro/proton-mail-mcp is an MCP server that connects AI assistants to Proton Mail through the local Proton Mail Bridge. Its main tools search and read threads, handle attachments, create drafts, preview mailbox cleanup, apply approved changes, undo supported actions, and optionally send approved drafts when sending is enabled.

Run `uvx mcp-proton-mail setup --client <client>` in your terminal, replacing `<client>` with a supported client name such as `claude-desktop`, `cursor`, or `codex`. Setup configures Bridge, stores credentials, verifies inbox access, and adds the server to the selected client.

Yes, but sending is disabled by default and only works for saved drafts after approval. Set `PROTON_MCP_ENABLE_SEND=1`, provide `PROTON_MCP_SEND_FROM` and `PROTON_BRIDGE_CERT`, then use the create-draft, preview, and confirmation flow.

Yes. The guided setup accepts `cursor` as a client name and adds the server to Cursor’s MCP configuration. Clients that support MCP Apps can also display the thread view, composer, and send-review interface.

Mailbox changes require a preview, a short-lived single-use token, and confirmation through a form by default. The server rechecks the exact messages before acting, so new mail is not added to an existing approval. Supported changes can later be reversed once with `undo_action`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewProton Mail MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/legalaspro-proton-mail-mcp?style=directory)](https://allmcps.com/mcp/legalaspro-proton-mail-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/legalaspro-proton-mail-mcp"><img src="https://allmcps.com/api/badge/legalaspro-proton-mail-mcp?style=directory" alt="Proton Mail MCP on AllMCPs" /></a>