mails

Automates sending and receiving emails for AI agents via Cloudflare and Resend providers.

365|28|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/chekusu/mails --skill mails
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mails
Source: https://github.com/chekusu/mails/tree/main
Command: npx skills add https://github.com/chekusu/mails --skill mails

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the end-to-end process of sending, receiving, and managing emails for AI agents, providing a robust foundation to claim mailboxes, route outbound emails through multiple providers, and search or sync inbox data across local and remote backends.

Core Features & Use Cases

  • Email sending via a provider chain (Cloudflare Email Service and Resend) with optional hosted or self-hosted deployment
  • Email receiving through a Cloudflare Email Routing workflow and local storage backends
  • Inbox search with filters for direction, attachments, and metadata, plus verification code extraction
  • Attachment support for sending and receiving, with offline/local backups and optional text extraction
  • Multi-backend storage options (local SQLite, db9.ai, or remote Worker API) and seamless sync between remote and local
  • Transparent provider reporting to identify which backend delivered each outbound email

Quick Start

Claim a mailbox with mails claim, then send a test email to verify the setup.

Frequently Asked Questions about mails

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate sending and receiving emails for an AI agent?

You can automate email for AI agents using a provider chain like Cloudflare and Resend to route outbound messages and manage inbound routing. This infrastructure handles mailbox claiming, sending, and receiving through a unified API and CLI.

Can I extract verification codes from received emails using Cloudflare Email Routing?

Yes, verification code extraction is supported directly from the inbox. The system receives emails through Cloudflare Email Routing workflows and automatically parses incoming messages to retrieve authentication codes for AI agent workflows.

What's the best way to sync an email inbox between a remote Worker API and local SQLite?

The best way to sync inbox data is using the built-in sync workflow that bridges remote Worker APIs and local SQLite storage. This enables offline local backups and seamless multi-backend storage synchronization for AI agents.

Does this email infrastructure support sending attachments through the Resend API?

Yes, attachment support is fully integrated for both sending and receiving emails. Outbound messages can include attachments routed through the Resend provider, while inbound attachments are stored locally with optional text extraction capabilities.

How do I search an email inbox by direction and metadata using a CLI?

You can search an email inbox via the CLI by applying filters for message direction, attachments, and metadata. This allows AI agents to quickly query local or remote backends and retrieve specific email datasets.

What are the limitations of using a provider chain for automated email infrastructure?

The provider chain relies on Cloudflare and Resend, meaning delivery depends on external service availability and configuration limits. However, transparent provider reporting identifies which backend delivered each outbound email to clarify failure modes.