Skip to main content
Glama
Evermail MCP Server

Evermail MCP Server

Evermail MCP Server (evermail-mcp)

Evermail MCP connector kallehiitola/evermail-mcp MCP server 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.

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. 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: support@evermail.ai

Local Smoke Test

npm test

License

MIT (c) Ludoitte Oy

Available Tools

9 tools
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 statisticsA
Read-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 emailA
Read-onlyIdempotent

Get full details of a specific email by its ID, including body content, recipients, and attachment metadata.

Inputs: emailId (required).

get_mailboxGet mailbox detailsC
Read-onlyIdempotent

Get detailed information about a specific mailbox.

Inputs: mailboxId (required).

get_profileGet account profileA
Read-onlyIdempotent

Get the current user's profile including tenant info, subscription tier, and plan limits.

Inputs: no named parameters.

list_mailboxesList mailboxesA
Read-onlyIdempotent

List all mailboxes for the authenticated user, including stats like email count and storage used.

Inputs: no named parameters.

list_saved_searchesList saved searchesA
Read-onlyIdempotent

List all saved search filters for the current user.

Inputs: no named parameters.

search_emailsSearch emailsB
Read-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

    A3.7/5.0

    Scored across 9 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to search and read a local, provider-independent email archive, reconstruct contacts and interactions, and prepare draft responses without sending anything.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to read, search, and manage email via IMAP, and send emails with attachments via SMTP, using natural language commands.
      690 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to read, send, organize, and search emails across multiple IMAP/SMTP mailboxes.
      MIT