mails-agent is an open-source email API for AI agents. It is built for agent workflows that need inbox access, verification-code extraction, search, replies, and MCP tools, and it can run with self-hosted Cloudflare control.
Its API covers sending and receiving email, including CC and BCC, In-Reply-To threading, and attachments. Messages received through Cloudflare Email Routing are persisted to R2 before parsing or routing, and the service offers full-text search across an inbox. It also extracts verification codes automatically for English, Chinese, Japanese, and Korean, and can long-poll until a code arrives. Other supported functions include webhooks with HMAC-SHA256 signature verification, SSE streams for message.received events, auto-labeling for newsletter, notification, code, and personal mail, and deterministic extraction of orders, shipping details, calendar events, and receipts. A built-in console lets users inspect mailboxes, messages, and webhook deliveries.
The product is offered through a CLI, Python SDK, MCP server, and agent-native skill packs. The page shows command-line installation with npm, Python usage through mails_agent, and MCP configuration for tools such as Claude Desktop, Cursor, and Windsurf. It also mentions custom domains and walks through SPF, DKIM, and MX verification for deliverability on a user’s own Cloudflare account. The service is presented as open source and MIT licensed, with self-hosting on Cloudflare and a free self-hosted tier tied to Cloudflare’s free plan limits, while hosted alternatives use usage-based pricing.
mails-agent is a Messaging, queues & streaming project. It focuses on enabling AI agents to send and receive emails and verification codes via a Python SDK. It is built as an open-source project for AI developers. mails-agent is open source under the MIT license. It ships for the web, the command line, and API.
Behind mails-agent is Digidai, and it first shipped in 2026. The project is developed in the open on GitHub with 16 commits in the last 90 days. Key capabilities include email sending, verification code handling, and Python SDK. It exposes integrations via a public API.
Summary written by a language model from the project’s public pages.
What PulseGate has recorded for this listing
Closest matches by what these projects do