Mailagents
TEST API 0.3 — DEVELOPER PREVIEW

Email built for autonomous agents.

Mailagents gives every agent its own inbox: provision an address, follow the thread, read the attachment and reply in context, without a human setting anything up.

No account needed. The playground runs in your browser.

NEW · BUILDERAgent-to-agent blueprintsDescribe a workflow, test the handoff over A2A 1.0, leave with a plan.
import { Mailagents } from "@mailagents/sdk";
 
const client = new Mailagents();
const { data: inbox } = await client.createInbox(
  { local_part: "research-agent" },
  process.env.MAILAGENTS_IDEMPOTENCY_KEY!,
);
Live inboxresearch-agent@mailagents.email
  • ML
    Morgan Lee2m

    The research brief is ready for review

    needs_reviewDraft reply waiting for approval
  • SR
    Sam Rivera3h

    A few sources for the next brief

    architecture-notes.pdf · clean

Simulated locally. No real email is sent.

  • Claude Code
    skill
  • Codex
    skill
  • Cursor
    skill
  • MCP
    server
  • REST · SDKs · CLI
    TypeScript, Python
  • A2A 1.0
    agent protocol

[ 01 / HOW IT WORKS ]

Three calls from zero to a reply.

No dashboard, no DNS ticket, nobody in the setup path. Your agent provisions what it needs and works inside the permissions you give it.

  1. STEP 01

    Provision an inbox

    One request creates a real address. Retries are safe with an idempotency key.

    POST /v1/inboxes
    ← 201 research-agent@mailagents.email
  2. STEP 02

    Read the whole thread

    Messages arrive in order, with verified senders, scanned attachments and extracted fields.

    GET /v1/inboxes/{inbox_id}/threads/{id}
    ← messages · attachments · fields
  3. STEP 03

    Reply, or ask first

    Answer in the same thread, or save a draft that waits for a person to approve it.

    POST …/messages/{id}/reply
    POST …/drafts/{id}/approve

[ 02 / PLATFORM ]

Built for the whole conversation.

Nine capabilities behind one API. Pick one to see the call behind it.

capability / inboxes01 of 09
POST /v1/inboxes
{ "local_part": "research-agent" }
 
← 201  research-agent@mailagents.email

Inboxes API

An identity for every agent. Create addresses on demand, one per agent, task or customer, with no mailbox setup and nobody in the loop.

  • Idempotent creates
  • Archive via API
  • Read-only or reply-only keys

All nine capabilities are part of the planned full release.

[ 03 / INTEGRATIONS ]

Works with your agent stack.

Bring your tools. Give your agent the instructions. Let it take over.

Give this to Claude Code
Read https://mailagents.dev/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.

[ 04 / USE CASES ]

What agents run on Mailagents.

Start with a concrete workflow, map it in the Builder and hand your agent a blueprint it can execute.

run / invoicesblueprint · simulated
  1. 01Create an inbox dedicated to invoice intake.
  2. 02Receive the email and retrieve its attachments.
  3. 03Extract the vendor, invoice number, currency, total, and due date.
  4. 04Validate the fields and flag missing or ambiguous values.
  5. 05Hand verified data to your accounting system with duplicate checks.
  • Attachments
  • Extraction
  • Events
OPEN IN THE BUILDER

[ 05 / AGENT-FIRST ]

An inbox it can run itself.

From signup to the next refill: a complete agent workflow, with a budget that stays yours.

  1. 01 →

    Create an identity

    Register and authenticate through the API. No console session required.

  2. 02 →

    Fund the inbox

    Request a quote, then pay with USDC from an authorized wallet.

  3. 03 →

    Get to work

    Send, receive and reply within scoped permissions.

  4. 04 ↺

    Refill within the cap

    Keep running inside the limit you set. Caps never raise themselves.

PAYMENT RAILx402/USDC on Base/Stripe billingNot live in this preview
REFILL CAP25 USDC · never auto-raised
16.00 used9.00 left

[ 06 / SECURITY ]

Built for untrusted inbound mail.

Mail from the open internet carries spoofing attempts, risky files and payloads your agent should never trust. Every message is verified and isolated first.

  1. inbound
  2. authenticate
  3. scan
  4. isolate
  5. extract
  6. review gate
  7. your agent
MALWARE & PROVENANCE

Scanned before your agent reads it

Attachments land in versioned storage and pass GuardDuty Malware Protection and SHA-256 checks before extraction or agent access. Suspicious files are quarantined.

TENANT & KEY ISOLATION

Scoped to a single job

Inboxes, webhooks and credentials stay in their workspace. Issue read-only or reply-only keys and cap autonomous spending per workspace.

AUTHENTICATED DELIVERY

Strict DNS and sender policies

Custom domains verify DKIM, SPF and DMARC with strict policies. Bounce, complaint and delivery telemetry protect your agent’s sender reputation.

UNTRUSTED INPUT BOUNDARIES

Structured extraction and review gates

Raw payloads stay apart from validated JSON. Ambiguous fields and sensitive replies are flagged needs_review before anything leaves the inbox.

[ 07 / OVERSIGHT ]

Autonomous for agents. Observable for humans.

Agents never need a dashboard. When your team wants to audit a conversation, approve a flagged draft or check delivery health, the console is one click away.

mailagents / default-workspace · preview
ACTIVE INBOXES
1 paused · 6 total
DELIVERY HEALTH
.8%DKIM · SPF · DMARC pass
REVIEW QUEUE
Drafts awaiting approval
AUTHORIZED BUDGET
USDCx402 auto-refill cap
EVENT STREAM
  • 14:32:08message.receivedNew reply added to thread_01delivered
  • 14:32:06agent.review_requestedResearch brief flagged for reviewneeds review
  • 14:26:41webhook.deliveredPOST /api/mail/events · 200 OKdelivered
  • 13:58:22credits.refilled25.00 USDC · authorized refillcompleted

OPEN THE CONSOLE

[ 08 / PRICING ]

Start free. Scale per workspace.

Predictable monthly plans for each workspace, paired with credit refills when your agents need more room.

Free

NO CREDIT CARD
$0 / month

A first home for your agents.

  • 3 inboxes
  • 3,000 emails / month (100 / day)
  • 3 GB storage
  • @mailagents.email addresses
  • 2 team members
  • API, CLI, MCP and console
  • Subtle Mailagents footer
CONNECT YOUR AGENT
AUTONOMOUS REFILLSAgents buy credits in USDC on Base via x402, within your authorized limits.Plan billing is not live in this preview.

[ 09 / FAQ ]

A little more context.

Or point your agent at /llms.txt.

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 it 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 handles billing. 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 the demo sending real email?

No. This site is a frontend preview and the playground runs in your browser. It does not create an account, send real email or start a payment. The skill is available to read, and the API examples show the proposed interface.

[ 10 / GET STARTED ]

Let your agent join the conversation.

tell your agent

> Read https://mailagents.dev/skill.md and set up an inbox.

Read the API foundation