Email

Create mailboxes on your domain. Send and receive email. Forward to Gmail, trigger webhooks, or read from the web inbox.

Quick start

terminal
$domani email create hello@myproject.dev
DNS records configured automatically Mailbox created: hello@myproject.dev
$domani email send hello@myproject.dev \ --to client@example.com --subject "Weekly report" --body "Here's the update."
Email sent
$domani email inbox hello@myproject.dev
3 message(s) in client@example.com Re: Weekly report 2m ago in stripe@stripe.com Payment received 1h ago out client@example.com Weekly report 3h ago
$domani email forward hello@myproject.dev --forward-to me@gmail.com
Forward set

Free @domani.run email

Every domani account includes a free @domani.run email address. No domain needed, no credit card. Create your agent's email in seconds.

$domani email create agent@domani.run

Everything you need

Create a mailbox

One command. DNS records (MX, SPF, DKIM, DMARC) are configured automatically. No manual setup.

$domani email create hello@myproject.dev

Send email

Send from the CLI, the API, or any MCP agent. Supports to, cc, bcc, subject, body, reply threading.

$domani email send hello@myproject.dev \
--to client@example.com --subject "Hello" --body "Hi there"

Read your inbox

Check messages from the CLI, the API, or the web inbox. Filter by direction (inbound/outbound) and paginate.

$domani email inbox hello@myproject.dev
$domani email inbox hello@myproject.dev --direction in

Forward to Gmail

Forward all inbound email to your personal address. Every email to your domain lands in your Gmail, iCloud, or any inbox.

$domani email forward hello@myproject.dev --forward-to me@gmail.com

Webhook for automation

Forward inbound email as JSON to your API endpoint. Perfect for agents, support bots, and automation.

$domani email webhook hello@myproject.dev --url https://myapp.dev/hooks/email

Web inbox

A clean, mobile-friendly email client built into the domani dashboard. Read, search, compose, reply. No Outlook required.

DNS auto-setup

When you create your first mailbox, MX, SPF, DKIM, and DMARC records are configured automatically. Or run setup manually.

$domani email setup myproject.dev
$domani email status myproject.dev

Connect external providers

Already use Gmail, Fastmail, or Proton? Auto-configure the DNS records to use them with your domain.

$domani email connect myproject.dev google-workspace

Built for agents

71 MCP tools including 16 email tools. Create mailboxes, send, read, reply, forward, delete - all available to any MCP agent.

CLI reference

domani email listList all mailboxes
domani email create user@domainCreate a mailbox
domani email delete user@domainDelete a mailbox
domani email inbox user@domainList messages (--direction in|out)
domani email send user@domainSend an email (--to, --subject, --body)
domani email forward user@domainForward inbound (--forward-to)
domani email webhook user@domainSet webhook (--url)
domani email setup <domain>Auto-configure MX, SPF, DKIM, DMARC
domani email status <domain>Check email DNS health
domani email connect <domain> <provider>Connect Gmail, Fastmail, Proton

MCP tools for agents

16 email MCP tools available to any MCP-compatible agent:

create_mailboxCreate a new mailbox
list_mailboxesList all mailboxes
delete_mailboxDelete a mailbox
send_emailSend an email
list_email_messagesList messages in a mailbox
get_messageRead a specific email
reply_to_messageReply to an email
forward_messageForward an email
delete_messageDelete a message
delete_messagesDelete multiple messages
mark_messages_readMark messages as read
setup_domain_emailSet up email DNS
check_emailVerify email DNS
set_email_forwardSet up forwarding
set_email_webhookSet webhook
get_domain_email_statusGet email config status

vs. Google Workspace

Google Workspacedomani
Monthly cost$7/user$0
Setup time15 min + DNS30 seconds
DNS configManual (12 records)Automatic
Send emailYesYes
Receive emailYesYes (inbox / forward / webhook)
API accessGmail API (OAuth)REST + MCP (Bearer token)
Agent-friendlyNo71 MCP tools
Web inboxGmailBuilt-in dashboard

Create your first mailbox

Free @domani.run email included. Use your own domain for custom addresses.