MCP Catalogs
Home

email-mcp

by codefuturist·45·Score 47

Full-featured MCP email server with IMAP/SMTP support, OAuth2, and AI-powered triage across multiple accounts.

communicationproductivityai-llm
23
Forks
14
Open issues
1 mo ago
Last commit
24d ago
Indexed

Overview

The email-mcp server provides comprehensive email management capabilities through the Model Context Protocol. It implements both IMAP for reading emails and SMTP for sending, supporting multiple email accounts simultaneously. The server exposes 47 tools, 7 prompts, and 6 resources, including features like email scheduling, calendar extraction, provider-aware label management, and real-time IMAP IDLE watcher with AI-powered triage. It supports OAuth2 authentication for Gmail and Microsoft 365 (experimental) and offers both CLI and Docker deployment options.

Try asking AI

After installing, here are 8 things you can ask your AI assistant:

you:AI assistants reading and responding to emails on behalf of users
you:Automated email management and triage based on custom rules
you:Cross-account email management from a single interface
you:Scheduling future emails and calendar event extraction
you:Email analytics and organization at scale
you:What email providers are supported?
you:Is OAuth2 authentication available?
you:How do I set up multiple accounts?

When to choose this

Choose this server when you need comprehensive email management with multi-account support, advanced features like email scheduling and AI triage, and integration with multiple MCP clients.

When NOT to choose this

Avoid if you only need basic email reading/sending functionality or prefer OAuth2 over experimental token authentication.

Tools this server exposes

12 tools extracted from the README
  • list_emails

    List emails in a mailbox with filtering options

  • send_email

    Send a new email with attachments

  • reply_email

    Reply to an existing email

  • schedule_email

    Schedule an email to be sent at a future time

  • search_emails

    Search for emails using complex queries

  • move_email

    Move an email between mailboxes

  • add_label

    Add a label to an email

  • extract_calendar

    Extract calendar events from email content

  • create_draft

    Create a new email draft

  • manage_account

    Manage email account settings

  • realtime_monitor

    Monitor mailbox for new emails in real-time

  • analyze_email

    Analyze email content for insights or summaries

Comparable tools

imap-mcpsmtp-email-toolsmailparser-mcp

Installation

Installation

Quick Setup

# Run directly
npx @codefuturist/email-mcp setup

# Or install globally
npm install -g @codefuturist/email-mcp

Docker

docker pull ghcr.io/codefuturist/email-mcp:latest

Claude Desktop Configuration

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

Environment Variables (Single Account)

{
  "mcpServers": {
    "email": {
      "command": "npx",
      "args": ["-y", "@codefuturist/email-mcp", "stdio"],
      "env": {
        "MCP_EMAIL_ADDRESS": "you@gmail.com",
        "MCP_EMAIL_PASSWORD": "your-app-password",
        "MCP_EMAIL_IMAP_HOST": "imap.gmail.com",
        "MCP_EMAIL_SMTP_HOST": "smtp.gmail.com"
      }
    }
  }
}

FAQ

What email providers are supported?
The server auto-detects settings for Gmail, Outlook, Yahoo, iCloud, Fastmail, ProtonMail, Zoho, and GMX. Custom IMAP/SMTP servers are also supported.
Is OAuth2 authentication available?
Yes, OAuth2 is available for Gmail and Microsoft 365 as an experimental feature. Token refresh and provider-specific flows may require additional testing.
How do I set up multiple accounts?
Use `email-mcp account add` to add accounts interactively, or manually configure multiple account sections in the TOML config file at ~/.config/email-mcp/config.toml.

Compare email-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.