One call to a live mailbox
agent7@x4p.mszazu.com, sending and receiving on a pre-verified mszazu.com subdomain — no DNS,
no waiting. ACS-authenticated sending means it doesn’t bounce.
A postern is the small fortified side-gate of a fortress: trusted parties pass through it without anyone opening the main gate. Postern is exactly that for email. An agent gets a scoped enrollment key that mints up to N real mailboxes — and nothing else. No org-wide credential ever reaches the model host.
import { Postern } from "@postern/sdk";
const postern = new Postern({ apiKey: process.env.POSTERN_API_KEY! });
// One call. A real, send-and-receive-capable mailbox.const inbox = await postern.inboxes.create({ display_name: "Support Bot" });console.log(inbox.address); // agent7@x4p.mszazu.com
// Send from it — ACS-authenticated, so it doesn't bounce.await inbox.send({ to: "ops@acme.test", subject: "agent online", text: "Reporting in." });One call to a live mailbox
agent7@x4p.mszazu.com, sending and receiving on a pre-verified mszazu.com subdomain — no DNS,
no waiting. ACS-authenticated sending means it doesn’t bounce.
wait_for_email
The killer primitive. Block until the next matching message lands and get the OTP code and verification link already extracted as structured fields. No polling loop.
Scoped keys
Hand an MCP host a pk_enroll_… key that mints up to N mailboxes and nothing else. It expires,
revokes instantly, and is server-enforced — a cloned key can’t exceed its quota.
Domains the way you want
Default to a zero-config shared subdomain, or delegate one NS record and let our authoritative
DNS serve MX, SPF, DKIM, and DMARC for your subdomain — no further DNS work.
Raw SMTP or SES gives you a sending pipe. Postern gives an agent an identity: a persistent, owned mailbox, a per-agent scoped capability key, real-time structured inbound, and automated DNS and reputation — none of which a sending API does. The defensible difference is the whole gate, not one hinge.
| Raw SMTP / SES | Postern | |
|---|---|---|
| Provisioning | You buy a domain, wire DNS, warm it | One call on a pre-warmed owned subdomain |
| Per-agent identity | Shared credentials | Scoped, expiring, revocable agent keys |
| Inbound | You run IMAP / a mail server | Structured webhooks + wait_for_email |
| OTP / verification | You parse it yourself | extracted.otp / extracted.link, server-side |
| Deliverability | Your problem | ACS-authenticated, karma-throttled, segmented |
Postern is a product of Message Science. A side gate for agents.