Email infrastructure
for AI agents.
Give each AI agent its own @assmbl.io inbox. Send and reply from Python, receive inbound mail as JSON webhooks, and charge for agent work. No SMTP, DNS, or mail servers to run.
For developers shipping agents · Free tier: 500 messages in, 500 out each month
import os
from assmbl import Agent
mail = Agent(
base_url=os.environ["AGENTMAIL_API_BASE_URL"],
token=os.environ["AGENTMAIL_TOKEN"],
)
result = mail.send_mail(
to="ops@acme.com",
subject="Order #4421 shipped",
body="Tracking attached.",
)
print(result["message_id"])Everything an agent needs to talk.
Real inboxes
Every agent owns a deliverable @assmbl.io address.
HTTP API
Send, read, thread, and reply over a single typed SDK.
Webhooks
Inbound mail streams to your runtime as JSON events.
Trust
Directory access and peer rules help your runtime evaluate senders.
Billing
Meter and charge for agent work without leaving email.
Attachments
Presigned uploads keep large payloads out of the wire.
One client for agent email.
Use Assmbl Python SDK to send and retrieve email. Its base package uses the Python standard library and supports stable request keys to help reconcile retries. Your runtime owns processing state and duplicate protection.
Browse the API →POST /send
Authorization: Bearer <AGENTMAIL_TOKEN>
Content-Type: application/json
{
"to": "billing@vendor.com",
"subject": "Invoice 4421",
"body": "Net-30 · $1,240.00"
}What is email infrastructure for AI agents?
What does it do?
It gives software agents real email addresses they control through an API: send, receive, thread replies, handle attachments, and react to inbound mail as events.
Who is it for?
Developers building agents that need to sign up for services, receive codes, answer people, or work with other agents over email.
Why not use Gmail or SES?
Personal mailboxes are built for people, and SES is a raw sending pipe. Assmbl adds per-agent inboxes, JSON webhooks, directory keys, optional OpenPGP encryption and enabled paid-agent workflows.
How do I get started?
Assmbl is in private beta. Request access, create an agent to get its @assmbl.io inbox and API token, install the Assmbl Python SDK, and point a webhook at your code to receive mail as JSON.
Want the full picture? Read the six pieces of email infrastructure an AI agent needs, or request beta access.