Unofficial MCP server for sending, reading, searching, and organizing Proton Mail through SMTP and Proton Mail Bridge.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We ran the install command below but it didn't respond within our test window โ this can mean a slow first-time install rather than a real problem.
npx -y proton-mail-mcpNo response to initialize.
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 1mo ago.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Proton Mail MCP.
send_emailSend an email using Proton Mail SMTP.
reply_emailReply to a message with proper threading headers (In-Reply-To, References). Includes the quoted original message with attribution by default.
reply_all_emailReply to all original recipients (sender + TO + CC), excluding the authenticated user. Same threading + quoting semantics as `reply_email`. Use this instead of `reply_email` + `replyAll: true` for clarity. Self-exclusion covers the whole recipient set including the primary `To`: replying-all to a mโฆ
forward_emailForward a message to new recipients. Original attachments are carried forward by default. Unlike reply, a forward does **not** set `In-Reply-To`/`References` โ it starts its own conversation and leaves the original message's `\Answered` flag untouched.
save_draftSave an email as a draft without sending it. The draft is placed in the user's `\Drafts` special-use folder (resolved at runtime; falls back to literal `Drafts` if no annotation). Returns the draft UID when available.
list_foldersList all mailbox folders with message and unread counts. No parameters. Counts come from a cached IMAP STATUS that Proton Bridge can serve stale โ for an exact count (e.g. before deleting or emptying a folder), use `count_messages` or `folder_stats`, which query the live mailbox. The output includeโฆ
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.

reply_all_email toolmarkdownBody to send_email / reply_email / reply_all_email / forward_email; rendered to HTML with a plain-text fallbacksaveTo + ALLOW_FILE_DOWNLOAD_DIR), forward a subset by part numberbulk_move, bulk_delete, bulk_update_flags, bulk_update_labels with dryRun preview and XOR uid/match inputcreate_folder, create_label, rename_folder, delete_folder (non-destructive on Proton); empty_folder (opt-in via ALLOW_EMPTY_FOLDER=true; not recommended)update_message_labels adds and removes Proton labels on a message (additive โ message stays in its source folder)count_messages, folder_stats, top_senders (with excludeSelf + per-row direction) for inbox analyticsmove_thread, delete_thread, flag_thread with optional cross-folder walk; get_thread dedupes by Message-ID across mailbox copiesincludeSnippet on list_messages and search_messages for at-a-glance previewsnotApplied; sent-copy lookup retries SEARCH to defeat Proton's index lag; Reply-To rewrites are surfaced in the send responseREADONLY=true, dryRun on all bulk ops, MCP tool annotations for client-side confirmation prompts, path-traversal defense on filesystem-touching toolsAdd the following to your client's MCP server configuration (Claude Desktop, Claude Code, Cursor, etc.):
That's it โ npx will download and run the server automatically. See Configuration for all available environment variables.
If you prefer to run from a local clone:
Then use this MCP config instead:
All send tools return the Message-ID of the sent message in their response, which can be used to locate the message via IMAP search. All four send tools (send_email, reply_email, reply_all_email, forward_email) perform a best-effort lookup of the sent copy UID in the resolved \Sent folder (retried across ~30s to defeat Proton's indexing lag) and lead the response with a machine-parseable token prefix โ [sent-copy:verified] or [sent-copy:unverified], plus [reply-to:preserved|rewritten|stripped|unverified] when replyTo was requested. Agents can grep these tokens instead of text-matching prose. When the Sent-copy lookup converges, the response also includes a Sent copy UID: N in Sent clause; when it doesn't, the leading verb switches from "X sent successfully (Sent-copy verified)" to "X send accepted by SMTP (Sent-copy unverified within the lookup window)" โ the message did go out, but per-delivery verification couldn't be completed within the budget.
๐ก๏ธ HTML sanitization defaults to ON (since v1.0.0). Send / reply / forward / save_draft tools strip
<script>, event handlers, inlinestyleattributes, and remote<img>beacons via a conservative allowlist before delivery. PasssanitizeHtml: falseto preserve full-fidelity HTML for trusted-content workflows. The success response notes when sanitization ran.โ ๏ธ Display-name spoofing partially defended. As of v1.0.0,
fromNamerejects values containing@by default โ without this guard, afromNamelike"Anthropic Security <security@anthropic.com>"reaches the wire asAnthropic Security security@anthropic.comafter angle-bracket sanitization, which mail clients render as a forged sender. PassallowAddressLikeFromName: trueto override for legitimate product names. SMTP itself still prevents address-level spoofing (the envelopeFrom:is bound to your authenticated identity), and arbitrary display names without@are still allowed (e.g."CEO of Acme") โ treatfromNamelike any other user-controllable string.
All send/reply/forward/save_draft tools accept an alternative markdownBody parameter (rendered to HTML via marked) โ mutually exclusive with body+isHtml. sanitizeHtml applies after Markdown rendering.
๐ก๏ธ Outbound preview + self-only lock.
send_email,reply_email,reply_all_email, andforward_emailacceptdryRun: trueโ it runs all validation and resolves the complete recipient set (To/CC/BCC, including the reply-all fan-out) and returns it without sending, leading with an[outbound:*]token and an explicit list of any external (non-self) recipients. Use it to confirm exactly who would receive the mail before a live call. For throwaway/QA accounts, setRESTRICT_OUTBOUND_TO_SELF=true(see Environment variables) to refuse any live send to a non-self recipient โ preventing an agent from fanning real mail out to external addresses embedded in seed data. (Preview is caller-opt-in; the env lock is enforced server-side with no per-call override.)
send_emailSend an email using Proton Mail SMTP.
| Parameter | Required | Description |
|---|---|---|
to | Yes | Recipient address(es), comma-separated |
subject | Yes | Subject line |
body | Conditional | Plain text or HTML content. Required unless markdownBody is provided |
isHtml | No | Whether body is HTML (default: false) |
markdownBody | No | Markdown source โ rendered to HTML before sending. Mutually exclusive with body/isHtml |
sanitizeHtml | No | Strip scripts, event handlers, inline styles, and remote <img> beacons via a conservative allowlist when the body is HTML. Default true as of v1.0.0. Pass false to preserve full-fidelity HTML. No-op on plain-text |
cc | No | CC recipient(s), comma-separated |
bcc | No | BCC recipient(s), comma-separated (count in response dedupes against To/CC) |
replyTo | No | Reply-To address (Proton SMTP may rewrite values that don't match an authenticated identity; rewrites are surfaced in the response) |
fromName | No | Display name for the From field. Rejects values containing @ by default (display-name-as-address spoofing defense โ see warning above). Pass allowAddressLikeFromName: true to override for legitimate cases (product names with @) |
allowAddressLikeFromName | No | Opt-in escape valve for fromName containing @. Default false |
attachments | No | Array of {filename, content, contentType}. content is validated as base64 at the Zod boundary (catches malformed payloads before nodemailer silently emits garbage bytes); contentType is validated as a MIME type/subtype (catches malformed values before SMTP rejects the message) |
dryRun | No | Validate and resolve the full recipient set (To/CC/BCC) + subject + body without sending. Returns a preview leading with an [outbound:*] token and an explicit list of any external (non-self) recipients (default: false) |
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/sethbang-proton-mail-mcp)<a href="https://allmcps.com/mcp/sethbang-proton-mail-mcp"><img src="https://allmcps.com/api/badge/sethbang-proton-mail-mcp?style=directory" alt="Proton Mail MCP on AllMCPs" /></a>