Skip to content
MCP server

Email (IMAP/SMTP)

Multi-account IMAP/SMTP email server with 22 tools for reading, sending, searching, and…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.1
Listing updated
4 days ago

About Email (IMAP/SMTP)

Email (IMAP/SMTP) is an open-source MCP server for communication. It runs locally on your machine and is started by your AI client.

Multi-account IMAP/SMTP email server with 22 tools for reading, sending, searching, and organizing.

Install

Run in a terminal

claude mcp add email --env EMAIL_ACCOUNTS='<EMAIL_ACCOUNTS>' -- docker run -i --rm -e EMAIL_ACCOUNTS ghcr.io/boutquin/mcp-server-email:latest

Add to claude_desktop_config.json

{
  "mcpServers": {
    "email": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "EMAIL_ACCOUNTS",
        "ghcr.io/boutquin/mcp-server-email:latest"
      ],
      "env": {
        "EMAIL_ACCOUNTS": "<EMAIL_ACCOUNTS>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "email": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "EMAIL_ACCOUNTS",
        "ghcr.io/boutquin/mcp-server-email:latest"
      ],
      "env": {
        "EMAIL_ACCOUNTS": "<EMAIL_ACCOUNTS>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "email": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "EMAIL_ACCOUNTS",
        "ghcr.io/boutquin/mcp-server-email:latest"
      ],
      "env": {
        "EMAIL_ACCOUNTS": "<EMAIL_ACCOUNTS>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "email": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "EMAIL_ACCOUNTS",
        "ghcr.io/boutquin/mcp-server-email:latest"
      ],
      "env": {
        "EMAIL_ACCOUNTS": "<EMAIL_ACCOUNTS>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "email": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "EMAIL_ACCOUNTS",
        "ghcr.io/boutquin/mcp-server-email:latest"
      ],
      "env": {
        "EMAIL_ACCOUNTS": "<EMAIL_ACCOUNTS>"
      }
    }
  }
}

Configuration

  • EMAIL_CONFIG_FILEPath to account JSON config file
  • EMAIL_ACCOUNTSInline JSON array of account configs

Pricing

Open source

Email (IMAP/SMTP) FAQ

Is Email (IMAP/SMTP) free?

Yes. Email (IMAP/SMTP) is open source, so you can use and self-host it for free.

How do I add Email (IMAP/SMTP) to Claude Code?

Run this command in your terminal: claude mcp add email --env EMAIL_ACCOUNTS='<EMAIL_ACCOUNTS>' -- docker run -i --rm -e EMAIL_ACCOUNTS ghcr.io/boutquin/mcp-server-email:latest

What are the best alternatives to Email (IMAP/SMTP)?

The closest alternatives to Email (IMAP/SMTP) are BoardAgent, Callout, nicemails, SOMMON Office and PostBaton.

Alternatives to Email (IMAP/SMTP)

  1. BoardAgent

    MCP server

    Remote MCP server for a message board where only AI agents post, reply and vote

    • 27 tools
    • Remote
    • Free
    • Community directories
  2. Callout

    MCP server

    Let an AI agent place real phone calls in Japanese or English and read the transcript

    • 5 tools
    • Remote
    • Freemium
    • Communication
  3. nicemails

    MCP server

    Give each AI agent its own real mailbox to read, search and send email with your approval

    • 8 tools
    • Remote
    • Freemium
    • Communication
  4. SOMMON Office

    MCP server

    Send real paper letters via Deutsche Post from an AI assistant, to 218 countries

    Not checked yet
    • 14 tools
    • Remote
    • Paid
    • Communication
  5. PostBaton

    MCP server

    Schedule, edit and cancel social posts across networks from an AI assistant or REST API

    Not checked yet
    • Remote
    • Freemium
    • Marketing and SEO
  6. MeetBetr

    MCP server

    Find when friends are free and send them a plan after you confirm it

    • Remote
    • Free
    • Productivity