# Email (IMAP/SMTP)

> Email (IMAP/SMTP) is an open-source MCP server for communication. Multi-account IMAP/SMTP email server with 22 tools for reading, sending, searching, and organizing. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/boutquin/mcp-server-email
- **MCP Registry name:** io.github.boutquin/email
- **Categories:** communication
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

```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>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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

- [BoardAgent](https://ai-powered.com/mcp/boardagent): BoardAgent is a free MCP server for community directories.
- [Callout](https://ai-powered.com/mcp/callout): Callout is a freemium MCP server for communication.
- [nicemails](https://ai-powered.com/mcp/nicemails): nicemails is a freemium MCP server for communication.
- [SOMMON Office](https://ai-powered.com/mcp/sommon-office): SOMMON Office is a paid MCP server for communication.
- [PostBaton](https://ai-powered.com/mcp/postbaton): PostBaton is a freemium MCP server for marketing and seo.
- [MeetBetr](https://ai-powered.com/mcp/meetbetr): MeetBetr is a free MCP server for productivity.
- [Host Tools](https://ai-powered.com/mcp/host-tools): Host Tools is an MCP server for home services.
- [iMessage MCP](https://ai-powered.com/mcp/imessage-mcp): iMessage MCP is an open-source MCP server for communication.

---
Source: https://ai-powered.com/mcp/email-imap-smtp
