Evermail MCP Server
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., "@Evermail MCP Server search my PST archive for emails from Sarah about the Q3 contract"
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.
Evermail MCP Server (evermail-mcp)
Official Model Context Protocol (MCP) server and zero-dependency stdio bridge for Evermail, letting Claude, Claude Code, Cursor, VS Code, Windsurf, and Cline search, read, analyze, and export your uploaded email archives (PST, OST, MBOX, EML, and Google Takeout) directly inside a conversation.
Hosted Streamable HTTP Endpoint:
https://mcp.evermail.ai/mcpOfficial MCP Registry ID:
ai.evermail/mcpDocumentation: Connecting Evermail to Claude
Glama Connector Listing: glama.ai/mcp/connectors/ai.evermail/mcp
Why Evermail MCP?
Search years of archived email without desktop mail clients: Query uploaded Outlook PST/OST files, Apple Mail and Thunderbird MBOX files, standalone EML messages, and Google Takeout exports in seconds.
One-click OAuth 2.1 + PKCE sign-in: Connect Claude web, Claude Desktop, and Claude Code by signing in with your Evermail account (Dynamic Client Registration supported, no API key required). Revoke any connected AI app anytime in
Settings -> Integrations -> Connected AI apps.Safe by design (7 read-only tools, 2 additive tools): No tool edits or deletes emails, mailboxes, or archives. Zero-Access encrypted archives stay unreadable to AI, and archives imported directly from Google stay excluded from AI tools unless you explicitly switch AI access on per archive.
EU-hosted, GDPR-compliant storage: Archive files remain on Evermail's EU infrastructure. Only the specific messages requested by a tool call are returned to your AI client.
Zero runtime dependencies: Pure Node.js standard library (
>= 18) for stdio clients that require a local bridge.
Related MCP server: work-assistant
Prerequisites
An Evermail account on a paid plan (Starter, Pro, Team, or Enterprise; Free-tier accounts cannot connect to MCP) with at least one uploaded email archive.
Connect Evermail MCP
1. Claude Web or Desktop (Recommended, OAuth sign-in)
Open Customize -> Connectors (or Organization settings -> Connectors for Team/Enterprise owners) and click Add custom connector.
Paste
https://mcp.evermail.ai/mcp.Keep the detected OAuth setting, click Connect, sign in to Evermail, and click Allow access.
2. Claude Code (Hosted Streamable HTTP + OAuth)
claude mcp add --transport http evermail https://mcp.evermail.ai/mcp
claude mcp login evermailAdd --scope user to make evermail available across all projects.
3. Cursor, VS Code, Windsurf, or Generic HTTP MCP Clients
For clients that support Streamable HTTP with OAuth or custom headers:
{
"mcpServers": {
"evermail": {
"type": "http",
"url": "https://mcp.evermail.ai/mcp"
}
}
}If your client uses an API key header instead of OAuth, create an em_live_ key in Evermail Settings -> Integrations and pass X-API-Key:
{
"mcpServers": {
"evermail": {
"type": "http",
"url": "https://mcp.evermail.ai/mcp",
"headers": {
"X-API-Key": "em_live_your_key_here"
}
}
}
}4. Local Stdio Bridge (Cline and stdio-only MCP Clients)
Requires Node.js 18+ and an em_live_ API key from app.evermail.ai/settings/integrations:
{
"mcpServers": {
"evermail": {
"command": "npx",
"args": ["-y", "github:kallehiitola/evermail-mcp"],
"env": {
"EVERMAIL_API_KEY": "em_live_your_key_here"
}
}
}
}Once published to npm, you can also run npx -y evermail-mcp.
Available Tools (9 Tools)
Tool | Title | Behavior | Description |
| Search emails | Read-only | Full-text search across archives with sender, mailbox, date range, attachment, and limit filters. |
| Read email | Read-only | Read a full email by ID, including body text, headers, recipients, and attachment metadata. |
| List mailboxes | Read-only | List uploaded mailboxes with message counts, storage sizes, source format, and security level. |
| Get mailbox details | Read-only | Get processing details and metadata for a specific mailbox ID. |
| Get archive statistics | Read-only | Aggregate stats: total messages, date span, top senders/recipients, attachments, yearly volume, busiest times, and top threads. |
| List saved searches | Read-only | List all saved search filters in the workspace. |
| Get account profile | Read-only | Read workspace profile, subscription tier, and plan limits. |
| Create saved search | Additive (non-destructive) | Save a reusable search filter without modifying or deleting existing searches. |
| Export emails | Additive (non-destructive) | Export selected email IDs as EML (ZIP) or MBOX and return a temporary download link (also manageable under Settings -> Data & privacy -> Email exports). |
Example Prompts
"Search my archive for the 2019 Henderson contract."
"Who emailed me the most, and how far back does my archive go?"
"Find every email from our old accountant and summarize what they were chasing."
"Export the selected invoices from Q3 2020 as MBOX."
Security and Privacy
OAuth 2.1 + PKCE: Authorization server at
https://app.evermail.ai/with RFC 9728 Protected Resource Metadata athttps://mcp.evermail.ai/.well-known/oauth-protected-resource.Revocation: Revoke any connected AI app or API key at
https://app.evermail.ai/settings/integrations.Privacy Policy: evermail.ai/privacy
Vulnerability Disclosure: evermail.ai/.well-known/security.txt
Support:
support@evermail.ai
Local Smoke Test
npm testLicense
MIT (c) Ludoitte Oy
Available Tools
9 toolscreate_saved_searchCreate saved searchA
Create a new saved search filter. Adds a new entry and never changes or removes existing ones. Respects the plan's saved-search limit.
Inputs: name (required), definitionJson (required).
export_emailsExport emailsB
Export selected emails as EML (ZIP) or MBOX format. Returns a temporary download URL when complete.
Inputs: emailIds (required), format.
get_archive_analyticsGet archive statisticsARead-onlyIdempotent
Get aggregate statistics for the whole email archive: total messages, date range, top senders and recipients, longest-running correspondent, attachments, volume by year, busiest times, top domains, and most active threads.
Inputs: no named parameters.
get_emailRead emailARead-onlyIdempotent
Get full details of a specific email by its ID, including body content, recipients, and attachment metadata.
Inputs: emailId (required).
get_mailboxGet mailbox detailsCRead-onlyIdempotent
Get detailed information about a specific mailbox.
Inputs: mailboxId (required).
get_profileGet account profileARead-onlyIdempotent
Get the current user's profile including tenant info, subscription tier, and plan limits.
Inputs: no named parameters.
list_mailboxesList mailboxesARead-onlyIdempotent
List all mailboxes for the authenticated user, including stats like email count and storage used.
Inputs: no named parameters.
list_saved_searchesList saved searchesARead-onlyIdempotent
List all saved search filters for the current user.
Inputs: no named parameters.
search_emailsSearch emailsBRead-onlyIdempotent
Search emails by query, sender, date range, and other filters. Returns a list of matching emails.
Inputs: limit, query, dateTo, dateFrom, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a clearly distinct resource and action: search vs. get email, list vs. get mailbox, analytics, saved-search listing/creation, export, and profile. There is little realistic chance of misselection because the boundaries between retrieval, analytics, export, and account metadata are explicit.
All tools follow a consistent snake_case verb_noun pattern: search_emails, get_email, list_mailboxes, get_mailbox, get_archive_analytics, list_saved_searches, create_saved_search, export_emails, get_profile. No naming convention deviations appear.
Nine tools is well-scoped for an email archive server, covering search, retrieval, mailbox visibility, analytics, saved searches, export, and profile without obvious redundancy. Each tool has a clear place in the surface.
The core email-archive workflow is covered: search, retrieve, inspect mailboxes, view analytics, manage saved searches, export, and check profile limits. Minor gaps remain around updating/deleting saved searches and downloading attachment content rather than only metadata.
Maintenance
Related MCP Connectors
Email for AI agents: read, search and send from your Gmail, Outlook, Yahoo, iCloud or IMAP inbox.
Connect Gmail, iCloud Mail, Outlook, Yahoo Mail, Fastmail and other IMAP inboxes to ChatGPT, Claude and compatible AI assistants. Find emails by meaning across languages with semantic search. Ask AI to find customer conversations, summarize deadlines and draft follow-ups. Give a sales rep access to a shared outreach inbox or bring email into a compatible CRM. Share an iCloud custom-domain inbox with teammates without their own Apple ID or iCloud+ plan. Search results may be incomplete or stale; separate permissions control mail actions.
Your mailboxes in ChatGPT and Claude: Gmail, iCloud, Fastmail, any IMAP. Passwords stay yours.
Connect any mailbox to Claude, ChatGPT & AI: read, send, reply, schedule & search emails.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Gmail and Outlook inboxes through natural language, supporting email search, reading, and reply operations.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search and read a local, provider-independent email archive, reconstruct contacts and interactions, and prepare draft responses without sending anything.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to read, search, and manage email via IMAP, and send emails with attachments via SMTP, using natural language commands.690 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to read, send, organize, and search emails across multiple IMAP/SMTP mailboxes.MIT