Your AI agents
now have an inbox

RegalMail gives your AI agents real email — receive, understand, and reply automatically. IMAP inbound, SMTP outbound, thread-aware, anti-loop protected.

$ npm install regalmail copy
Free tier    Any IMAP/SMTP provider    OpenClaw compatible
01
Email arrives
Someone sends an email to your agent's address
02
IMAP IDLE detects
Persistent connection picks it up in seconds
03
Route to agent
Recipient address maps to the right agent
04
Agent responds
Full thread context for a coherent reply
05
SMTP sends
Proper threading headers preserved
Real-Time

IMAP IDLE

Persistent connection to the mailbox. No polling, no cron jobs. Your agent reacts within seconds of an email landing.

Routing

Multi-account routing

sales@ goes to your sales agent, support@ to your receptionist. One plugin, many addresses, each bound to the right agent.

Context

Thread awareness

Tracks Message-ID, In-Reply-To, and References headers. Your agent maintains full conversation context across threads.

Safety

Anti-loop protection

Blocks replies to noreply@, mailer-daemon, auto-replies, and rate-limits per sender. No infinite reply storms.

Universal

Any provider

Gmail, Outlook, OCI, Fastmail, self-hosted. If it speaks IMAP and SMTP, RegalMail works with it.

Open

Self-host or managed

Run it on your own server with npm, or use our managed service. Your data, your infrastructure, your choice.

Simple, honest pricing

Start free. Scale when you need to.

Free
$0/mo
No credit card required
  • 1 mailbox
  • 200 emails per month
  • IMAP + SMTP
  • Thread awareness
  • Anti-loop protection
  • Community support
Get Started
Business
$49/mo
Per workspace
  • 25 mailboxes
  • 50,000 emails per month
  • Everything in Pro
  • Custom domain support
  • Webhook integrations
  • Dedicated support
Start Business

Install the package, add your accounts to openclaw.json, and bind each address to an agent.

// 1. Install
$ npm install regalmail

// 2. Add to openclaw.json
{
  "channels": {
    "email": {
      "accounts": {
        "sales": {
          "email": "sales@yourcompany.com",
          "imapHost": "imap.gmail.com",
          "smtpHost": "smtp.gmail.com",
          "agentBinding": "sales-agent"
        },
        "support": {
          "email": "support@yourcompany.com",
          "agentBinding": "ai-receptionist"
        }
      }
    }
  }
}

// 3. That's it. Your agents now have email.

Give your agents email

Free tier. No credit card. Install in under a minute.

Start Free