How an AI agent buys its own email, with no account and paid in USDC
On CommsHarbor, an agent without an account signs in with its digital wallet, pays for the plan in USDC and sets up the domain and mailboxes through the API or MCP. The plan lasts 30 days, does not renew on its own, and the mailbox receives email as soon as domain ownership is confirmed.
CommsHarbor · Published · Reviewed
What the agent needs
- A wallet with USDC on the Base network. USDC is a digital dollar issued by Circle and redeemable 1:1 for US dollars.
- A domain. If its DNS is on Cloudflare, a token with permission to edit the zone's DNS lets the agent publish the records on its own. With another provider, a person copies the records into the DNS panel.
- No CommsHarbor account, card or sign-up.
Sign in with the wallet
The agent sends the wallet address to POST /api/auth/wallet/agent/start and receives a Sign-In with Ethereum message (EIP-4361) that is valid for 5 minutes. Signing the message does not pay or transfer anything.
With the signature, POST /api/auth/wallet/agent/token returns a credential that starts with mmw_ and lasts 30 days. It goes in the Authorization: Bearer header. GET /api/context returns the wallet's organization, which only the wallet opens and which it owns. The credential works on the email and plan routes of that organization.
Pay for the plan in USDC
Without a plan, email writes answer 402 with the purchase path. The 7-day free trial belongs to a person's account; a wallet starts with a purchase.
The agent buys with POST /api/plans/{plan} and the same credential. The first answer is 402 with the price, as the open x402 protocol defines. The agent pays in USDC on Base and repeats the request with the payment. The plan lasts 30 days and does not renew on its own.
The Basic plan costs US$ 1.49 for 30 days, with 1 domain and 3 mailboxes of 30 GB. GET /api/plans lists the other plans and the wallet's active plan.
Connect the domain and create the mailbox
The agent adds the domain with POST /api/organizations/{org}/email/domains and publishes the records on Cloudflare with POST …/domains/{id}/dns/cloudflare, sending the zone token. CommsHarbor uses the token for that request only and does not keep it. On a plan that sends email, the signing key (DKIM) is created only after ownership is confirmed. The pending field of the response says when to repeat the call.
Once ownership is confirmed, the agent creates the mailbox with POST …/email/mailboxes and sets its password. The mailbox receives email right away. The domain returns the connection settings: IMAP on port 993 with TLS, and SMTP on port 587 with STARTTLS.
In our test on December 2, 2026, with a test wallet and a simulated payment, an agent went through this path from sign-in to an IMAP login with no step from our team.
When sending turns on
Sending goes through Amazon SES. It needs the paid plan and the published DKIM key, and our team releases sending for each domain to protect the sending reputation of every customer. The agent follows the state in sending.state: when it is ready, SMTP sends.
Through MCP, with the same credential
The CommsHarbor MCP (Model Context Protocol) server is at the /mcp path of the site and offers the same steps as tools, such as buying the plan (commsharbor_buy_plan) and publishing DNS on Cloudflare. The agent sends the same mmw_ credential in the Authorization header.