NestDaddy

Email Smtp Imap Mcp

io.github.samihalawa/email-smtp-imap-mcp ยท v2.2.2

Multi-account SMTP/IMAP email tools: search, read, send, reply, forward, flags and folders.

Connect Runs on your machine

Terminal
claude mcp add email-smtp-imap-mcp -e EMAIL_ACCOUNTS_JSON=<EMAIL_ACCOUNTS_JSON> -e DEFAULT_EMAIL_ACCOUNT=<DEFAULT_EMAIL_ACCOUNT> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "email-smtp-imap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "EMAIL_ACCOUNTS_JSON": "<EMAIL_ACCOUNTS_JSON>",
        "DEFAULT_EMAIL_ACCOUNT": "<DEFAULT_EMAIL_ACCOUNT>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "email-smtp-imap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "EMAIL_ACCOUNTS_JSON": "<EMAIL_ACCOUNTS_JSON>",
        "DEFAULT_EMAIL_ACCOUNT": "<DEFAULT_EMAIL_ACCOUNT>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "email-smtp-imap-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "EMAIL_ACCOUNTS_JSON": "<EMAIL_ACCOUNTS_JSON>",
        "DEFAULT_EMAIL_ACCOUNT": "<DEFAULT_EMAIL_ACCOUNT>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
EMAIL_ACCOUNTS_JSON
Required, secret
JSON object keyed by account name with SMTP and IMAP settings and credentials; see the repository setup guide.
DEFAULT_EMAIL_ACCOUNT
Optional
Default account name from EMAIL_ACCOUNTS_JSON; optional when the first account should be used.

Details

Package[email protected] (NPM, stdio)
First published31 Oct 2026
Last updated31 Oct 2026
Registry nameio.github.samihalawa/email-smtp-imap-mcp

More communication servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.