ProtonMail MCP Server
Provides email management through Proton Bridge: send, read, search, organize, and delete emails, manage folders, and retrieve email, contact, and volume analytics.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ProtonMail MCP Server search my inbox for unread emails from the last week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ProtonMail MCP Server
Model Context Protocol server for ProtonMail with 23 tools for email management through Proton Bridge.
Features
Email sending - Send emails with HTML/text, attachments, CC/BCC, custom headers
Email reading - Fetch, search, and filter emails via IMAP
Folder management - Create, delete, rename, list, and sync folders
Email operations - Mark read/unread, star, move, delete
Analytics - Email volume trends, contact statistics, response time analysis
System tools - Connection status, cache management, logging
Related MCP server: proton-bridge-mcp
Quick Start
Prerequisites
ProtonMail account
Proton Bridge installed and running
Node.js 18.0.0+
Installation
From npm:
npm install -g protonmail-mcp-serverFrom source:
git clone https://github.com/barhatch/protonmail-mcp-server.git
cd protonmail-mcp-server
npm install && npm run buildConfiguration
Edit Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"protonmail": {
"command": "npx",
"args": ["-y", "protonmail-mcp-server"],
"env": {
"PROTONMAIL_USERNAME": "your-email@protonmail.com",
"PROTONMAIL_PASSWORD": "your-bridge-password",
"PROTONMAIL_SMTP_HOST": "127.0.0.1",
"PROTONMAIL_SMTP_PORT": "1025",
"PROTONMAIL_IMAP_HOST": "127.0.0.1",
"PROTONMAIL_IMAP_PORT": "1143"
}
}
}
}Notes:
Use
127.0.0.1notlocalhostto avoid IPv6 issuesPassword is your Proton Bridge password, not your ProtonMail login
Get Bridge password from Proton Bridge โ Settings โ Mailbox Password
Available Tools
Email Sending
send_email- Send email with HTML/text, attachments, CC/BCCsend_test_email- Send test email
Email Reading
get_emails- Fetch emails with pagination/filteringget_email_by_id- Get specific emailsearch_emails- Search with multiple criteria
Folder Management
get_folders- List folders with statssync_folders- Sync folder structurecreate_folder- Create new folderdelete_folder- Delete folder (must be empty)rename_folder- Rename folder
Email Actions
mark_email_read- Mark read/unreadstar_email- Star/unstarmove_email- Move between foldersdelete_email- Delete permanently
Analytics
get_email_stats- Email statisticsget_email_analytics- Analytics and insightsget_contacts- Contact interaction statsget_volume_trends- Email volume over time
System
get_connection_status- Check SMTP/IMAP statussync_emails- Manual syncclear_cache- Clear cacheget_logs- Get logs
Troubleshooting
Connection refused ::1:1143
Use
127.0.0.1instead oflocalhostVerify Proton Bridge is running:
lsof -i :1025 -i :1143
Authentication failed
Use Proton Bridge password (not ProtonMail login)
Get from Proton Bridge โ Settings โ Mailbox Password
Certificate errors
Self-signed certs are automatically accepted for localhost
Development
npm run dev # Watch mode
npm run build # Build
npm run lint # Type checkLicense
MIT - See LICENSE
Links
Unofficial third-party server, not affiliated with Proton AG.
Available Tools
26 toolsadd_labelA
๐ท๏ธ Add a label to an email. Note: Labels are folders with 'Labels/' prefix. This moves the email to 'Labels/LabelName'. Create the label folder first if it doesn't exist.
Inputs: label (required), emailId (required).
bulk_add_labelA
๐ท๏ธ Add a label to multiple emails. Note: Labels are folders with 'Labels/' prefix. This moves emails to 'Labels/LabelName'. Create the label folder first if it doesn't exist.
Inputs: label (required), emailIds (required).
bulk_delete_emailsC
๐๏ธ Delete multiple emails at once (efficient for batch deletion)
Inputs: emailIds (required).
bulk_move_emailsB
๐ฆ Move multiple emails to a folder at once (efficient for managing multiple emails)
Inputs: emailIds (required), targetFolder (required).
clear_cacheB
๐งน Clear email cache and analytics cache
Inputs: no named parameters.
create_folderB
๐ Create a new email folder. Use 'Folders/FolderName' for custom folders or 'Labels/LabelName' for labels
Inputs: folderName (required).
delete_emailB
๐๏ธ Delete email permanently
Inputs: emailId (required).
delete_folderB
๐๏ธ Delete an email folder or label (must be empty). Works with 'Folders/' or 'Labels/' prefixes
Inputs: folderName (required).
get_connection_statusA
๐ Check SMTP and IMAP connection status
Inputs: no named parameters.
get_contactsC
๐ฅ Get contact information with interaction statistics
Inputs: limit.
get_email_analyticsC
๐ Get advanced email analytics and insights
Inputs: no named parameters.
get_email_by_idA
๐ง Get a specific email by its ID (returns full email body and attachments)
Inputs: emailId (required).
get_emailsB
๐ฌ Get emails from a specific folder with pagination (returns truncated body preview, attachment metadata only)
Inputs: limit, folder, offset.
get_email_statsC
๐ Get comprehensive email statistics
Inputs: no named parameters.
get_foldersA
๐ Get all email folders with statistics. Note: Labels appear as folders with 'Labels/' prefix (e.g., 'Labels/Work')
Inputs: no named parameters.
get_logsC
๐ Get recent system logs
Inputs: level, limit.
get_volume_trendsC
๐ Get email volume trends over time
Inputs: days.
mark_email_readC
โ Mark email as read/unread
Inputs: emailId (required), isRead.
move_emailC
๐ฆ Move email to different folder (use folder path like 'INBOX', 'Trash', or 'Folders/MyFolder')
Inputs: emailId (required), targetFolder (required).
rename_folderB
โ๏ธ Rename an email folder or label. Works with 'Folders/' or 'Labels/' prefixes
Inputs: newName (required), oldName (required).
search_emailsB
๐ Search emails with advanced filters (returns truncated body preview, attachment metadata only)
Inputs: to, from, limit, query, +7 more.
send_emailC
๐ Send email with advanced options (templates, scheduling, attachments)
Inputs: to (required), body (required), subject (required), cc, +5 more.
send_test_emailA
๐งช Send a test email to verify SMTP functionality
Inputs: to (required), customMessage.
star_emailC
โญ Star/unstar email
Inputs: emailId (required), isStarred.
sync_emailsC
๐ Manually sync emails from server
Inputs: full, folder.
sync_foldersC
๐ Synchronize folder structure from server
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 26 tools
Most tools target clearly distinct resources and actions (send, delete, move, label, folder management, sync, system diagnostics). The main overlap is among analytics tools: get_email_stats, get_email_analytics, and get_volume_trends all report email metrics, though their descriptions hint at different scopes.
All tool names use snake_case and consistently lead with an action verb, with a clear bulk_ prefix for batch operations. Minor variations like mark_email_read and get_email_by_id still fit the overall verb_noun pattern.
26 tools is slightly heavy but justified by the broad email-client surface covering messages, folders, labels, bulk operations, analytics, sync, and system diagnostics. A few analytics tools could potentially be consolidated, but overall the count is reasonable for the domain.
The surface covers the full email lifecycle: listing, reading, searching, sending, deleting, moving, starring, labeling, folder management, bulk operations, sync, diagnostics, and analytics. No obvious CRUD or workflow gap remains for a ProtonMail MCP server.
Maintenance
Related MCP Connectors
Read, send, file and search email in any Gmail, Microsoft 365 or IMAP mailbox, plus its calendar.
Read, send, organize, watch email on any IMAP mailbox: Gmail, iCloud, OVH, Zoho, Fastmail + CalDAV.
Email on your own domains: add a domain, write its DNS, create mailboxes, read and send mail.
Email infrastructure for AI agents โ send, receive, search, and reply to email over MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI clients to interact with ProtonMail accounts through the Proton Bridge using SMTP and IMAP protocols. Provides email management capabilities via secure local bridge connections.22 npmMIT
- AlicenseAqualityBmaintenanceEnables AI assistants to read, organize, and send Proton Mail through the local Proton Bridge, with careful gating for sending and attachment access.252Apache 2.0
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with a Proton Mail mailbox through Proton Bridge, supporting listing, searching, reading, sending, and organizing emails.-
- AlicenseNot gradedqualityCmaintenanceEnables AI clients to read, search, compose, organize, and act on emails, plus manage calendars, contacts, reminders, folders, rules, signatures, aliases, and account preferences through a local bridge.MIT