Native MCP Server

Give Claude Code full email superpowers with one line. list_inboxes, send_email, read_messages — all as native tools.

Emails4Agents ships with a built-in Model Context Protocol (MCP) server. Wire it to Claude Code and your AI sessions get native email tools — no API calls to write, no authentication to handle.

Connect to Claude Code

Add to your ~/.claude/settings.json:

{
  "mcpServers": {
    "emails4agents": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote",
        "https://api.emails4agents.com/mcp/sse",
        "--header", "X-API-Key:${E4A_API_KEY}"
      ],
      "env": {
        "E4A_API_KEY": "e4a_your_key_here"
      }
    }
  }
}

Available tools

ToolDescription
list_domainsList all configured domains
create_domainAdd a new domain with auto DNS setup
verify_domainCheck DNS propagation status
list_inboxesList all inboxes (optionally filter by domain)
create_inboxProvision a new inbox
send_emailSend an email from an inbox
read_messagesRead messages from an inbox
get_threadRetrieve a full email thread
reply_to_messageReply in-thread preserving context
search_messagesFull-text search across messages

Example Claude session

User: Create an inbox for our new outreach agent

Claude: [calls create_inbox with username="outreach", domain_id="..."]
→ Created [email protected] (inbox-uuid: abc123)

User: Send a cold email to the list in leads.csv

Claude: [reads leads.csv, calls send_email for each row]
→ Sent 47 emails from [email protected]

User: Did anyone reply?

Claude: [calls read_messages, filters direction=inbound]
→ 3 replies received. 2 interested, 1 unsubscribe.

Why MCP matters for email

Email has always been awkward for AI agents — you’d need to either scrape a webmail UI or implement IMAP in your agent harness. MCP turns email into a first-class tool call. Claude treats send_email the same way it treats read_file or bash — just another tool in the session.

Ready to get started?

Start your free trial today. No credit card required.