Email infrastructure that just works for AI agents
Provision inboxes on demand. Send via REST or SMTP. Receive via webhook or IMAP. Threads, attachments, and bounce tracking handled. Custom domains supported. Workspace-scoped keys for resellers.
Everything you need to ship email
Lower-level than Resend or Postmark — your agent owns inboxes, not just outbound. Higher-level than raw SMTP — we handle deliverability and threading.
Inbox provisioning
Spin up a fresh inbox for each agent or end-customer with one API call. Returns IMAP + SMTP credentials and an inbox-scoped API key.
REST + SMTP send
Send via /v1/inboxes/{id}/send for the typed-API path or via standard SMTP for legacy clients. Same auth, same limits.
Inbound webhooks
Get a POST when a message arrives. Optional WebSocket stream for in-line 2FA flows where there's no public webhook receiver.
Custom domains
Bring your own domain. We return DNS records, verify them, and handle MX setup. BIND zone export available.
Threads + drafts
Replies, reply-all, and forwards preserve In-Reply-To/References automatically. Drafts persist across agent turns.
Workspace isolation
One tenant, many workspaces, each with its own scoped key. Resell email to your customers without exposing their data to each other.
From zero to first send in 5 lines
One npm package. Same client-shape across email and LinkedIn modules.
import { MyAgentMail } from "myagentmail";
const mam = new MyAgentMail({ apiKey: process.env.MYAGENTMAIL_KEY! });
const inbox = await mam.inboxes.create({ username: "scout" });
await mam.messages.send(inbox.id, {
to: "ceo@acme.com",
subject: "Hello",
plainBody: "Hi there.",
verified: true,
});POST /v1/inboxes/{id}/send·MCP server: npx -y myagentmail-mcpSpin up your first inbox.
7-day free trial. No credit card required. Add the LinkedIn module any time without re-keying.