Skip to content
sethbang avatar

Proton Mail (unofficial)

sethbang/proton-mail-mcp

Unofficial Proton Mail access for sending, replying, forwarding, and drafting over SMTP.

CCM score
75 of 100
GitHub stars
11
tools
5
auth
Secret needed
transport
STDIO
env vars
18
last updated
Nov 30, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Sends with send_email, reply_email, reply_all_email, and forward_email, threading replies via In-Reply-To and References headers
  • Saves unsent messages with save_draft into the Drafts folder; an opt-in dryRun previews the full recipient list before anything goes out
  • Requires a Proton SMTP password, and reading mail also needs Proton Mail Bridge running locally
  • Fits drafting, replying, and forwarding mail from an AI assistant on your own Proton account

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

send_emailSend an email using Proton Mail SMTP.

Send an email using Proton Mail SMTP.

No parameter schema in public metadata yet.

reply_emailReply to a message with proper threading headers (In-Reply-To, References). Includes the quoted original message with attribution by default.

Reply to a message with proper threading headers (In-Reply-To, References). Includes the quoted original message with attribution by default.

No parameter schema in public metadata yet.

reply_all_emailReply to all original recipients (sender + TO + CC), excluding the authenticated user. Same threading + quoting semantics as `reply_email`.

Reply to all original recipients (sender + TO + CC), excluding the authenticated user. Same threading + quoting semantics as `reply_email`.

No parameter schema in public metadata yet.

forward_emailForward a message to new recipients. Original attachments are carried forward by default.

Forward a message to new recipients. Original attachments are carried forward by default.

No parameter schema in public metadata yet.

save_draftSave an email as a draft without sending it. The draft is placed in the user's `\Drafts` special-use folder.

Save an email as a draft without sending it. The draft is placed in the user's `\Drafts` special-use folder.

No parameter schema in public metadata yet.

Configuration

PROTONMAIL_USERNAME*

Your Proton Mail email address

PROTONMAIL_PASSWORDsecret

The Proton Mail Bridge password (not your login password); with smtp.protonmail.ch, an SMTP token. Set exactly one of PROTONMAIL_PASSWORD, PROTONMAIL_PASSWORD_FILE or PROTONMAIL_PASSWORD_COMMAND

PROTONMAIL_PASSWORD_FILE

Alternative to PROTONMAIL_PASSWORD: path to a file containing the password

PROTONMAIL_PASSWORD_COMMAND

Alternative to PROTONMAIL_PASSWORD: shell command that prints the password, e.g. a macOS Keychain lookup

PROTONMAIL_HOSTdefault: 127.0.0.1

SMTP host. Defaults to Proton Mail Bridge; use smtp.protonmail.ch for Proton's SMTP submission service (the default before 2.0.0)

PROTONMAIL_PORT

SMTP port. When unset: 1025 (Bridge) for a host on this machine, 587 for any other host such as smtp.protonmail.ch

PROTONMAIL_SECUREdefault: false

false: STARTTLS (Bridge's default). true: TLS from the first byte (Bridge's SSL mode, or port 465)

IMAP_HOSTdefault: 127.0.0.1

Proton Mail Bridge IMAP host (required for read/search tools)

IMAP_PORTdefault: 1143

Proton Mail Bridge IMAP port

IMAP_SECUREdefault: false

Use TLS for IMAP

IMAP_USERNAME

Proton Mail Bridge username (falls back to PROTONMAIL_USERNAME)

IMAP_PASSWORDsecret

Proton Mail Bridge password (falls back to PROTONMAIL_PASSWORD)

READONLYdefault: false

Disable all mutating tools (send, move, delete, flags, labels, bulk ops, folder/label management)

RESTRICT_OUTBOUND_TO_SELFdefault: false

Refuse live sends to any recipient other than PROTONMAIL_USERNAME (for throwaway/QA accounts)

ALLOW_FILE_DOWNLOAD_DIR

Allowlist directory enabling download_attachment.saveTo; when unset, attachments return as inline base64

ALLOW_FILE_ATTACH_DIR

Folder send_email and save_draft may read attachments from by path; when unset, attachments must be passed as base64

ALLOW_EMPTY_FOLDERdefault: false

Register the empty_folder tool (not recommended)

DEBUGdefault: false

Enable verbose logging to stderr

Readme

Proton Mail MCP Server

npm version License: MIT Glama score

A Model Context Protocol (MCP) server that gives AI assistants full access to your Proton Mail account -- send, read, search, and organize email over SMTP and IMAP.

⚠️ Unofficial — not affiliated with Proton. This is an independent, community-built project. It is not developed, endorsed, sponsored, or supported by Proton AG. "Proton", "Proton Mail", and "Proton Mail Bridge" are trademarks of Proton AG, used here only to describe interoperability. It talks to Proton Mail over the standard SMTP submission endpoint and the locally-run Proton Mail Bridge; no Proton private API is used. Use at your own risk.

Demo

Proton Mail MCP demo — triaging an inbox from an MCP client

Features


View the full README on GitHub

Details

Repository
github.com/sethbang/proton-mail-mcp
Website
sethbang.github.io/proton-mail-mcp
Category
Email & Messaging
Package
proton-mail-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Questions

What can an AI agent do with the Proton Mail MCP server?

The server lets an agent send, reply, reply to all, forward and save drafts through Proton Mail SMTP, with threading headers on replies. Its listed tools include send_email, reply_email, reply_all_email, forward_email and save_draft, and the README also describes reading, searching and organizing mail over IMAP through Proton Mail Bridge.

Do I need Proton Mail Bridge to use this MCP server?

Bridge is only needed for the read and search tools, which connect over IMAP. The send, reply, forward and draft tools use the Proton Mail SMTP submission endpoint with the credentials you configure.

Which environment variables do I need to set for the Proton Mail MCP server?

PROTONMAIL_USERNAME and PROTONMAIL_PASSWORD are required, and the password should be an SMTP password generated in Proton settings rather than your login password. Optional variables include READONLY, RESTRICT_OUTBOUND_TO_SELF and ALLOW_FILE_DOWNLOAD_DIR, and the server runs over stdio.

Where does the Proton Mail MCP server rank in the Email and Messaging category?

The server is in the Email and Messaging category on Claude Marketplaces and ranks in the top 50 there. Other servers in the category include Agent-Native Dispatch, WhatsApp, MoeMail, Slack and Commonly, and this server stands out for covering both sending and IMAP mailbox management.

More from sethbang

All 2

Similar to Proton Mail (unofficial)

More Email & Messaging