Email infrastructure for AI agents
An inbox for
every agent.
Give your agents an inbox. Let them send, receive, and get on with the work.
import { MailAgents } from "mailagents";
const client = new MailAgents({ apiKey });
const inbox = await client.inboxes.create({
name: "research-agent",
});
console.log(inbox.address);
This is where replies land.
Run the request to create a demo inbox.API preview. Email is simulated locally.
Works with your agent stack.
Bring your tools. Give your agent the instructions. Let it take over.
Read /skill.md and add the Mailagents skill to this Claude Code project. Check the service status before attempting account setup. Follow the documented capabilities and keep credentials out of chat.
Skill preview. Account creation, email delivery, and payments are not live yet.
Built for the whole conversation.
Messages, files, context, and events. Everything an agent needs to turn incoming mail into the next action.









An address for every agent.
Create an inbox for each job. Keep its identity, messages, and permissions together.
View API example
const inbox = await client.inboxes.create({
name: "research-agent",
workspaceId: workspace.id,
});
All nine capabilities are included in the planned full release.
An inbox it can run itself.
From signup to the next refill. A complete agent workflow, with a budget that stays yours.
Create an identity
Register and authenticate through the API.
Fund the inbox
Buy credits with USDC from an authorized wallet.
Get to work
Send, receive, and reply within scoped permissions.
Refill as needed
Keep running within the budget you set.
Authorized spending. Automatic refills. Stripe billing.
A little more context.
How is this different from a transactional email API?
The inbox is the starting point. Mailagents is designed for agents that receive messages, follow threads, work with attachments, and reply with context, as well as send email.
Can an agent get started without a dashboard?
Yes, that is the intended flow: register, authenticate, create an inbox, and purchase credits through an API. The console lets people inspect activity, but is not a required setup step. Autonomous payments require a funded, authorized wallet.
How will payments and credit refills work?
Free includes 3 inboxes and 3,000 emails per month. Developer is $20/month for 10 inboxes and 10,000 emails per month. Autonomous payments use x402 with USDC on Base and Stripe billing. Plan renewal and pricing for additional services are still being specified.
Can I bring my own domain?
Developer includes 10 custom domains with DNS verification. Free uses Mailagents inbox addresses. Both are part of the planned full release, alongside isolated workspaces, scoped API keys, and message events.
Is this demo sending real email?
This site is a frontend preview. The inbox runs locally in your browser. It does not create an account, send real email, or initiate payments. The skill is available to read and download; API and SDK examples show the proposed interface.