MCP Email Server logo

MCP Email Server

Read, search, organize, and send messages across multiple email accounts through IMAP and SMTP.

Install MCP Email Server

Run the project’s own setup commands, in order.

Setup steps from the project

mcp-email-server installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Configure
    uvx mcp-email-server@latest config init \
      --database ~/.config/mcp-email-server/managed.sqlite3
    
  2. 2. Configure
    uvx mcp-email-server@latest config import-legacy
    
  3. 3. Configure
    uvx mcp-email-server@latest config import-legacy --apply
    
  4. 4. Run
    uvx mcp-email-server@latest ui
    
  5. 5. Install
    uv sync
    
  6. 6. Start the server
    uv run mcp-email-server ui
    

Overview

mcp-email-server connects MCP clients to email accounts over IMAP for mailbox access and SMTP for outgoing mail. It supports multiple accounts and lets agents read, search, organize, and send messages across Windows, macOS, and Linux. Use it when an agent needs direct email workflows rather than access through a separate mail application. Configuration can be managed through a local UI or existing TOML and environment-based settings, with stdio available for MCP client connections.

Use cases

  • Read recent messages from configured accounts
  • Search mail for conversations or messages
  • Organize messages across multiple inboxes
  • Send email through configured SMTP accounts

Key features

  • IMAP mailbox access
  • SMTP email sending
  • Multi-account configuration
  • Message search and organization
  • Local account setup UI
  • stdio MCP transport

Security & health

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

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

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

GitHub stars411Stargazers on the source repository.
Last commit5d agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Email Server works

What mcp-email-server does

mcp-email-server exposes email operations to MCP-compatible clients through standard MCP server connections. It works with IMAP for retrieving and managing mailbox content and SMTP for sending messages. The server supports multiple accounts, making it suitable for workflows that need to inspect or act on more than one inbox.

Agents can use it to read messages, search mail, organize mailbox content, and send email. A typical use case is an assistant that finds relevant correspondence, summarizes or processes it, applies organization actions, and sends a reply or new message when appropriate.

The application runs on Windows, macOS, and Linux. Its local email configuration includes an account-focused UI, with saved accounts and editable connection settings.

How it works

Run the server as an MCP process and configure the client to launch its stdio entry point. A published installation can use uvx with the stdio command:

config.json
{
  "mcpServers": {
    "mcp-email-server": {
      "command": "uvx",
      "args": ["mcp-email-server@latest", "stdio"]
    }
  }
}

The client communicates with the server over stdio, while the server uses the configured account's IMAP and SMTP connections for email operations. After changing account or MCP settings, restart the MCP client so it loads the selected configuration. A basic connection check is to ask the client for configured accounts or recent messages.

Setup and configuration

From a source checkout, install the project environment with uv sync, then start the configuration interface with uv run mcp-email-server ui. For a published release that includes Local Email App V2, uvx mcp-email-server@latest ui provides the equivalent temporary invocation.

The setup UI begins with an email address and password. It can fill common connection details from the email domain, while still allowing those values to be edited. Outgoing SMTP configuration is optional during account setup. A saved complete account is available without a separate activation step, and the interface includes a password-and-test action.

Local Email App V2 uses managed storage backed by SQLite. Existing installations can remain in legacy mode, or settings can be reviewed and imported with the config init, config import-legacy, and config doctor commands. The import process previews its changes and requires explicit confirmation before applying them.

Tools and capabilities

  • Read email through IMAP.
  • Search messages and mailbox content.
  • Organize email within configured accounts.
  • Send email through SMTP.
  • Work with multiple email accounts.
  • Configure accounts through the local UI or managed CLI workflow.

Limitations and notes

The server requires valid email account configuration and an MCP client that can launch a stdio server. SMTP is optional when initially saving an account, so sending requires outgoing-mail settings to be configured. The project includes platform-specific filesystem and credential-storage behavior; review its security guidance when deciding where to run it.

The managed configuration workflow and legacy settings are distinct. Updating the package does not automatically import older settings, although those settings continue to work in legacy mode. After a successful configuration import or MCP configuration change, restart active clients before testing the updated account selection.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

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

Frequently Asked Questions about MCP Email Server

mcp-email-server is an MCP server that connects AI clients to email accounts through IMAP and SMTP. Its main capabilities are reading, searching, organizing, and sending messages, with support for multiple accounts. It runs on Windows, macOS, and Linux and can be launched as a stdio server.

Install it with `uvx mcp-email-server@latest` or run it from a source checkout with `uv`. Use the `ui` command to configure an account, then add the `stdio` command to your MCP client's server configuration. Restart the client after changing its configuration.

Run `uvx mcp-email-server@latest ui` for a published release, or `uv run mcp-email-server ui` from a checkout. Enter the email address and password; the UI fills common connection settings from the domain and lets you edit them. SMTP settings can be added when sending is needed.

Yes, mcp-email-server supports multiple email accounts. Configure the accounts through its local UI or managed configuration workflow, then use the MCP client to list configured accounts and work with their messages.

Yes. mcp-email-server uses a standard stdio MCP entry point, so it can be configured in Cursor as an MCP server. Add its `uvx` command and `stdio` argument to the client's server configuration, then restart Cursor.

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 PreviewMCP Email Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-email-server?style=directory)](https://allmcps.com/mcp/mcp-email-server)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-email-server"><img src="https://allmcps.com/api/badge/mcp-email-server?style=directory" alt="MCP Email Server on AllMCPs" /></a>