Skip to the collection

agent-native · Communication

mails.dev

Listed on The Agent-Native Index

Email for AI Agents

What it does

mails.dev is email infrastructure for AI agents — send and receive emails with a free @mails.dev mailbox or your own domain. Agents get programmatic inbox provisioning, full-text search across mail, attachment handling, and a first-class primitive that no human email client needs: wait for verification code — mails code long-polls until an email with a verification code arrives, then returns it to stdout. This eliminates the agent’s need to poll, parse HTML, or guess code patterns.

100 free emails/month on hosted; unlimited with Resend API key or self-hosted Worker.


Agent-facing interfaces

How agents onboard

Interaction pattern: URL Onboarding ⭐ — the highest tier of agent-nativeness.

Read https://mails.dev/skill.md and follow the instructions.

See the full onboarding section in the dossier.

Protocol surface

Interface Detail
CLI mails claim, mails send, mails inbox, mails code, mails config
REST API https://api.mails.dev/v1/send, /v1/inbox, /v1/code, /v1/claim/*
TypeScript SDK mails npm package — send(), getInbox(), searchInbox(), waitForCode()