AI agents are increasingly handling real-world tasks: booking meetings, following up on invoices, notifying customers when work is done. Until now, email was a gap — agents could generate email text, but sending and receiving actual email required wiring up a separate provider, managing SMTP credentials, and building inbox management from scratch.
Today we're shipping Agent Email Inboxes: every HexaClaw agent can now have a real @agentmail.to address, send outbound messages, and read incoming replies — all through the HexaClaw API.
How it works
Each inbox is a persistent, agent-owned email address tied to your HexaClaw account. You create one with a single API call:
curl -X POST https://api.hexaclaw.com/v1/email/agent/inboxes \
-H "Authorization: Bearer $HEXACLAW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"username": "billing-agent"}'
That returns an inbox ID and email address — something like billing-agent-1709600000000@agentmail.to. From that point on, your agent can send email through it:
import requests
BASE = "https://api.hexaclaw.com"
headers = {"Authorization": f"Bearer {API_KEY}"}
inbox = requests.post(f"{BASE}/v1/email/agent/inboxes",
headers=headers, json={"username": "support-agent"}).json()
requests.post(f"{BASE}/v1/email/agent/inboxes/{inbox['inbox_id']}/send",
headers=headers,
json={
"to": ["customer@example.com"],
"subject": "Your request has been completed",
"text": "Hi, I've finished processing your order. Let me know if you need anything else."
})
And read incoming replies:
messages = requests.get(
f"{BASE}/v1/email/agent/inboxes/{inbox_id}/messages",
headers=headers
).json()
for msg in messages["messages"]:
print(msg["from"], msg["subject"], msg["preview"])
What you can build
Customer support agents — give your support agent a real email address. Customers reply directly to the agent, the agent reads the thread and responds. No human in the loop unless escalation is needed.
Automated outreach — agents that send personalized follow-ups, check for replies, and continue the conversation based on what the customer says.
Notification pipelines — agents that email stakeholders when tasks complete, with a real reply-to address so humans can respond back to the agent.
Invoice and billing workflows — dedicated inboxes per client so agents can handle billing communication separately from other agent tasks.
Background research agents — agents that email sources, wait for replies, and synthesize the information into a report.
Pricing
Inbox creation costs 5 credits (one-time). Sending an email costs 1 credit per message. Reading is free.
At our standard rate (1 credit = $0.01), creating an inbox costs $0.05 and sending costs $0.01 per email. For context, a support agent handling 500 emails a month costs about $5 in email credits.
Built on AgentMail
Under the hood, Agent Email Inboxes are powered by AgentMail, purpose-built for agent-owned email. We chose AgentMail because their infrastructure is designed for programmatic inbox management at scale — not the workarounds required with consumer Gmail or business SMTP.
The integration is fully proxied through the HexaClaw API so you never handle AgentMail credentials directly. One API key, one credit balance, everything your agent needs.
Available now
Agent Email is live in production today. The full API reference is in the docs. If you're already on HexaClaw, no upgrade needed — it works with your existing API key on any paid plan.
Give your agents a real mailbox and see what they can do with it.