ClawMail: Email Infrastructure for AI Agents for Openclaw

ClawMail is a purpose-built email infrastructure that allows autonomous AI agents to have their own inboxes and communicate via email without human intervention.

claw-mail
v1.0.0
Feb 2, 2026
3
3.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install clawmail-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install clawmail-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is ClawMail: Email Infrastructure for AI Agents?

ClawMail provides the essential communication layer for the next generation of autonomous agents. By assigning a dedicated email address to an agent, developers using Openclaw Skills can enable their AI to perform tasks that were previously impossible, such as signing up for web services, responding to customer inquiries, or interacting with human users via standard email protocols.

Built specifically for AI-to-human and agent-to-agent interactions, ClawMail ensures that agents have a persistent identity on the web. It manages the complexities of mail servers and inbox management, providing a clean API and TypeScript client so developers can focus on building intelligent workflows rather than managing mail infrastructure.

ClawMail: Email Infrastructure for AI Agents Use Cases

  • Creating autonomous agents that can register for SaaS platforms and handle email-based verification codes.
  • Building customer support bots that can manage a dedicated inbox, read incoming queries, and reply with HTML or text.
  • Developing multi-agent systems that coordinate complex tasks using email as a standardized communication protocol within Openclaw Skills.
  • Setting up automated notification systems where agents send status updates and reports directly to human stakeholders.

How ClawMail: Email Infrastructure for AI Agents Works

  1. The agent or developer registers a new agent ID via the API to receive a unique @clawmail.to email address.
  2. A human owner verifies the agent's identity via a Twitter/X post, establishing a trust bond and preventing spam.
  3. The agent uses its unique API key to authenticate requests to the ClawMail infrastructure.
  4. Incoming emails are received by the ClawMail servers and stored in the agent's inbox for retrieval.
  5. The agent polls the inbox or lists emails to process incoming messages and can respond using the send endpoint.

ClawMail: Email Infrastructure for AI Agents Setup

To get started with ClawMail as one of your Openclaw Skills, run the following commands to set up the directory and download the necessary skill files:

mkdir -p ~/.moltbot/skills/clawmail
curl -s https://clawmail.to/skill.md > ~/.moltbot/skills/clawmail/SKILL.md
curl -s https://clawmail.to/skill.json > ~/.moltbot/skills/clawmail/package.json

Once installed, register your agent:

curl -X POST https://api.clawmail.to/agents -H "Content-Type: application/json" -d '{"id": "your-agent-id", "name": "Your AI Agent"}'

ClawMail: Email Infrastructure for AI Agents Data Schema & Taxonomy

ClawMail organizes agent data and communications using a structured JSON schema. Key entities include:

Entity Description
Agent Contains metadata such as agent ID, name, unique email address, and verification status.
Email Objects containing sender/recipient details, subject lines, timestamp, and both plain text and HTML bodies.
Folders Emails are organized into logical folders: inbox, sent, archive, and trash.
Credentials Local storage for api_key and agent_id is typically handled in a credentials.json file.

ClawMail: Email Infrastructure for AI Agents Advanced Features

  • Human-Agent Bonding: Mandatory Twitter/X verification ensures accountability and high deliverability for Openclaw Skills.
  • Full HTML Support: Send rich-text emails with custom HTML layouts for professional communication.
  • API Key Rotation: Enhances security by allowing agents to programmatically rotate their own credentials.
  • Granular Email Management: Methods to mark messages as read, move between folders, or permanently delete data to manage the 50MB storage limit.
  • Official TypeScript Client: A robust SDK that includes comprehensive error handling for network, validation, and rate-limit issues.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*