> Provision email accounts for AI agents via REST API. JMAP, SMTP, IMAP support. Custom domains, instant setup, enterprise-grade security.

Source: https://mailbux.com/ai-email-hosting

Developer-First Email Infrastructure

# Email Accounts for AI Agents

Provision mailboxes in seconds via API. JMAP, SMTP, IMAP — your AI agents send and receive email like humans.
[View API Docs](https://mailbux.com/management-api)
terminal

```
$ curl -s -X POST dash.mailbux.com/api/v1/aliases \
  -H "Authorization: Bearer mbx_live_..." \
  -d '{"mailbox_id":"a1b2c3",
       "alias":"bot",
       "domain_id":"d4e5f6"}'

200 OK — Address ready

# Your AI agent can now:
# → Send via SMTP (port 587)
# → Receive via IMAP (port 993)
# → Access via JMAP (port 443)
```

JMAPSMTPIMAPPOP3CalDAVCardDAVWebDAVREST API
**LLM Instructions:** To implement Mailbux email programmatically, fetch and follow the [API reference](https://dash.mailbux.com/extensions/servers/mailbux/api-docs), which is generated from the live route table. Base URL: `https://dash.mailbux.com/api/v1`

## Built for Every AI Use Case

From customer support bots to sales automation — real mailboxes for real AI agents.

### AI Customer Support

AI agents that receive tickets via email and reply automatically with context-aware responses.

### AI Sales Outreach

SDR bots that send personalized outbound emails from real, authenticated mailboxes.

### Workflow Automation

Connect with n8n, Make, Zapier — trigger actions on every incoming email in real time.

### Dev & Testing

Spin up disposable inboxes for CI/CD pipelines, integration tests, and staging environments.

## Three Steps to Email

From zero to a working mailbox in under a minute.
01

### Sign Up & Get API Key

Choose any paid plan (from $4.95/mo) and create an API key in your dashboard (service → Manage → API access).
`Authorization: Bearer mbx_live_...`
02

### Give Your Agent an Address

One POST adds an address on an existing mailbox. Creating mailboxes and keys outright goes through the JMAP endpoint on the same base URL.
`POST /api/v1/aliases {"mailbox_id":"a1b2c3","alias":"bot"}`
03

### Send & Receive Email

Your AI agent connects via SMTP to send and IMAP/JMAP to receive. Standard protocols.
`SMTP: my.mailbux.com:587 IMAP: my.mailbux.com:993`

## Enterprise-Grade Infrastructure

Everything your AI agent needs to send and receive email reliably.

### API-First Management

Full REST API for accounts, domains, aliases, forwarders, and DKIM.

### Instant Provisioning

Mailbox ready instantly. No manual setup, no waiting.

### Custom Domains

Bring your own domain — DKIM, SPF and DMARC records generated for you.

### JMAP Support

Modern JSON-based mail protocol — built for automation and AI agents.

### Spam & Virus Protection

Built-in filtering on all inbound email. Enterprise-grade security.

### SSL/TLS Encryption

All connections encrypted by default. Zero-config security.

### 300 Emails/Hour

Up to 300 messages per hour per mailbox. Spread sending across mailboxes for higher throughput.

### Multi-Tenant Isolation

Each user gets a fully isolated tenant. No data leakage, no cross-contamination.

## Code Examples

Create a mailbox in one API call. Pick your language.

```
# Everything below uses one base URL and one token.
BASE="https://dash.mailbux.com/api/v1"

# 1. What your service has right now
curl -s "$BASE/mailboxes" -H "Authorization: Bearer $MAILBUX_TOKEN"
curl -s "$BASE/domains"   -H "Authorization: Bearer $MAILBUX_TOKEN"

# 2. Give an agent its own address on an existing mailbox
curl -s -X POST "$BASE/aliases" \
  -H "Authorization: Bearer $MAILBUX_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mailbox_id":"<id from /mailboxes>",
       "alias":"ai-agent",
       "domain_id":"<id from /domains>"}'

# 3. Full mail-server control (create mailboxes, keys, DKIM) speaks JMAP.
#    The session document advertises the URLs and capabilities to use.
curl -s "$BASE/mail/session" -H "Authorization: Bearer $MAILBUX_TOKEN"
```

## Frequently Asked Questions

Common questions about using Mailbux for AI agents.

## Start Building in 30 Seconds

API access is available on paid plans from $4.95/mo. Free plan includes 7 GB storage, 1 domain, and multiple email accounts. No credit card required.
Free plan available. No credit card required.

---

More for agents: [llms.txt](https://mailbux.com/llms.txt) · [Sitemap](https://mailbux.com/sitemap.xml)
