Quickstart: eib CLI

Private email hosting with built-in tracking. Agent-provisioned. 60 seconds to first mailbox.

Claude Code Cursor Windsurf Cline Codex Copilot Claude Web Raycast

Setup is identical for every agent — eib init detects your agent config file (CLAUDE.md, .cursorrules, .windsurfrules, …) automatically.

1

Install + signup

npm install -g emailinabox
eib signup my-project --local

API key saved to .eib/config.json. Add your email (--email you@example.com) and we'll send the activation link — the key activates once you start the 7-day free trial (card required, $5/mailbox/mo after).

Already have a key? eib login YOUR_KEY --local. Add .eib/ to your .gitignore.

2

Add to your agent config

Run eib init — it prints a skill block for CLAUDE.md / .cursorrules / .windsurfrules:

eib init                 # quickstart guide + config snippet
eib init --agent-schema  # machine-readable JSON command contract
3

Deploy a domain

eib deploy mycompany.com --email admin --password ********
# → mailbox + DKIM + DNS provisioned
eib dns mycompany.com    # required DNS records
eib dns-check mycompany.com
4

Send tracked email

eib send --from admin@mycompany.com --to lead@client.com \
  --subject "Proposal" --html "<p>Hi…</p>"
eib engagement 7d        # open + click rates

MCP Server — Local (Claude Code desktop)

Save as .mcp.json in your project root:

{
  "mcpServers": {
    "emailinabox": {
      "type": "stdio",
      "command": "eib",
      "args": ["mcp-serve"]
    }
  }
}

12 EmailInABox tools discovered automatically.

MCP Server — Remote (Claude Web, Cowork, Raycast)

{
  "mcpServers": {
    "emailinabox": {
      "type": "sse",
      "url": "https://mcp.emailinabox.com/sse",
      "headers": {
        "Authorization": "Bearer YOUR_EIB_API_KEY"
      }
    }
  }
}

Same 12 tools, no CLI install needed.

API (no CLI)

curl -X POST https://emailinabox.com/api/signup \
  -H "Content-Type: application/json" \
  -d '{"tenantId": "my-project", "agent": "claude-code", "email": "you@example.com"}'
# → { "apiKey": "eib_std_my_project_...", "paymentRequired": true, "paymentUrl": "..." }

Use Authorization: Bearer <apiKey> on all /api/* endpoints.

Full command reference

eib --help

Or see llms.txt for the complete reference.