kallehiitola

Evermail MCP Server (evermail-mcp)

Community kallehiitola
Updated

Official MCP server bridge and config for Evermail (https://mcp.evermail.ai/mcp): search, read, analyze, and export PST, OST, MBOX, EML, and Google Takeout email archives.

Evermail MCP Server (evermail-mcp)

Official MCP Registry

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/mcp
  • Official MCP Registry ID: ai.evermail/mcp
  • Documentation: Connecting Evermail to Claude
  • Glama Connector Listing:

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.

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)

  1. Open Customize -> Connectors (or Organization settings -> Connectors for Team/Enterprise owners) and click Add custom connector.
  2. Paste https://mcp.evermail.ai/mcp.
  3. 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 evermail

Add --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 Search emails Read-only Full-text search across archives with sender, mailbox, date range, attachment, and limit filters.
get_email Read email Read-only Read a full email by ID, including body text, headers, recipients, and attachment metadata.
list_mailboxes List mailboxes Read-only List uploaded mailboxes with message counts, storage sizes, source format, and security level.
get_mailbox Get mailbox details Read-only Get processing details and metadata for a specific mailbox ID.
get_archive_analytics 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 List saved searches Read-only List all saved search filters in the workspace.
get_profile Get account profile Read-only Read workspace profile, subscription tier, and plan limits.
create_saved_search Create saved search Additive (non-destructive) Save a reusable search filter without modifying or deleting existing searches.
export_emails 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 at https://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: [email protected]

Local Smoke Test

npm test

License

MIT (c) Ludoitte Oy

MCP Server · Populars

MCP Server · New

    PanStudio

    ZulipChat MCP Server

    ZulipChat MCP Server - A Model Context Protocol server that bridges AI agents with Zulip Chat. Built with FastMCP for lightning-fast performance, featuring comprehensive chat management and intelligent summarization. Transform your Zulip workspace into an AI-powered collaboration hub!

    Community PanStudio
    United-Compute

    GPU Price Tracker: open data

    This project tracks the market prices and performance metrics of various GPUs.

    Community United-Compute
    Graphify-Labs

    graphify

    Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

    Community Graphify-Labs
    superdesigndev

    Treg (OpenRouter for Tools)

    OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn

    Community superdesigndev