Email MCP logo

Email MCP

by codefuturist

Connects AI assistants to IMAP and SMTP accounts for reading, composing, organizing, scheduling, and analyzing email.

Install Email MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "codefuturist-email-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@codefuturist/email-mcp"
      ],
      "env": {
        "MCP_EMAIL_ADDRESS": "YOUR_VALUE_HERE",
        "MCP_EMAIL_PASSWORD": "YOUR_VALUE_HERE",
        "MCP_EMAIL_IMAP_HOST": "YOUR_VALUE_HERE",
        "MCP_EMAIL_SMTP_HOST": "YOUR_VALUE_HERE",
        "EMAIL_ACCOUNTS": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @codefuturist/email-mcp

No 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.

Overview

The codefuturist/email-mcp MCP server connects AI assistants to email accounts through IMAP and SMTP. It supports reading, searching, composing, replying, forwarding, drafting, scheduling, labeling, mailbox management, and analytics across multiple accounts. Use it when an agent needs direct email workflows rather than read-only inbox access, with provider auto-detection and optional real-time IMAP IDLE monitoring.

Use cases

  • Search inboxes across multiple email accounts
  • Send threaded replies and forwarded messages
  • Schedule outbound email for future delivery
  • Organize messages with bulk actions and mailbox operations
  • Monitor account health and email activity

Key features

  • IMAP and SMTP email access
  • Multi-account configuration
  • Search, threading, drafts, and templates
  • Scheduled sending and bulk actions
  • Mailbox and message management
  • Email analytics and health checks

Tools52

What Email MCP lets your agent do. Expand a tool for its parameters.

Self-reported~995 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

21/21 checks healthy over the last 80d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @codefuturist/email-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars137Stargazers on the source repository.
npm downloads5.1kPackage downloads in the last 30 days.
Last commit1d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed52Callable tools this server registers over MCP.
Directory activity10 viewsConfig copies, upvotes, and views on AllMCPs.

How Email MCP works

What codefuturist/email-mcp MCP server does

The codefuturist/email-mcp MCP server exposes email operations over Model Context Protocol for accounts that support IMAP and SMTP. It can inspect folders and unread counts, list or search messages, retrieve full message content, inspect status flags, download attachments, reconstruct threads, and extract contacts from recent headers.

The server also covers outbound and organizational workflows. Agents can send new messages, reply with threading headers, forward existing content, save and send drafts, apply templates, schedule future delivery, and cancel scheduled messages. Mail can be moved, deleted, marked read or unread, flagged, or processed in bulk. Mailbox creation, renaming, and deletion are also available.

How it works

Connections use IMAP for mailbox access and SMTP for sending. Multiple accounts can be configured and operated through the same MCP server. Provider settings can be detected for services including Gmail, Outlook, Yahoo, iCloud, Fastmail, ProtonMail, Zoho, GMX, and ProtonMail as listed by the project.

The server uses stdio transport. It stores its default configuration in the XDG-style path ~/.config/email-mcp/config.toml, while a single account can alternatively be supplied through environment variables. A setup wizard can detect server settings, test connections, save configuration, and produce an MCP client configuration snippet.

Additional functions include message statistics, connection health checks, scheduled-message management, template variable substitution, and provider-aware label handling.

Setup and configuration

The codefuturist/email-mcp MCP server requires Node.js 22 or newer when run with its npm package. The directly runnable MCP configuration is:

config.json
{
  "command": "npx",
  "args": ["-y", "@codefuturist/email-mcp", "stdio"]
}

Before starting the MCP process, create an account configuration with npx @codefuturist/email-mcp setup, or use the CLI commands email-mcp account add and email-mcp config init. The setup flow is recommended for interactive account creation and connection testing. Docker is also supported; the host configuration directory must be mounted into the container because the transport remains stdio.

For a single account without a configuration file, the documented variables are MCP_EMAIL_ADDRESS, MCP_EMAIL_PASSWORD, MCP_EMAIL_IMAP_HOST, and MCP_EMAIL_SMTP_HOST. Gmail and Microsoft 365 OAuth2 authentication is described as experimental.

Tools and capabilities

The exposed operations include:

  • Browse mailboxes and paginated messages with sender, date, subject, and flag filters.
  • Read one or multiple messages, inspect status, search content, resolve folders, and reconstruct threads.
  • Send, reply to, forward, draft, template, schedule, cancel, and bulk-process email.
  • Download attachments, with downloads capped at 5 MB and returned as base64.
  • Create, rename, delete, and move through mailbox folders.
  • Extract contacts and produce email volume, sender, and daily-trend statistics.
  • Check connection health, latency, quota, and IMAP capabilities.

Limitations and notes

The codefuturist/email-mcp MCP server requires valid email account access and does not replace the provider’s IMAP or SMTP permissions. OAuth2 support is experimental rather than documented as the default authentication path. Attachments larger than 5 MB cannot be downloaded through the documented attachment operation.

Connections use TLS or STARTTLS, passwords are not logged, and an audit trail records operations without credentials. A configurable token-bucket rate limiter applies per account. Configuration should be created on the host before using the Docker image, and the mounted configuration directory is shown as read-only in the example.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Email MCP

Use Node.js 22 or newer and run `npx -y @codefuturist/email-mcp stdio` in the MCP client configuration. Create account settings first with `npx @codefuturist/email-mcp setup`.

Yes. The README provides a Claude Desktop configuration using `npx -y @codefuturist/email-mcp stdio`.

Yes. It supports multiple IMAP/SMTP accounts and includes tools for listing configured accounts and working across them.

Yes. It provides tools to schedule messages, list scheduled messages by status, and cancel pending messages.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewEmail MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/codefuturist-email-mcp?style=directory)](https://allmcps.com/mcp/codefuturist-email-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/codefuturist-email-mcp"><img src="https://allmcps.com/api/badge/codefuturist-email-mcp?style=directory" alt="Email MCP on AllMCPs" /></a>