ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified communication Safety 3/5

agentmail

Programmatic email for AI agents via AgentMail API. Create inboxes, send/receive messages, manage threads, webhooks, pods, and custom domains. Use when you need agent email identity, email-based workflows, or real-time email processing.

Why use this skill?

Integrate programmatic email into your AI agents with AgentMail. Manage inboxes, send messages, and automate email workflows with webhooks using the AgentMail skill.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/kesslerio/agentmail-kessler
Or

What This Skill Does

The AgentMail skill provides a robust, programmatic interface for email management within the OpenClaw ecosystem. By integrating with the AgentMail API, this skill allows your AI agents to act as independent email clients. It enables the creation of unique inboxes, the sending of personalized messages, and the organization of email threads. Beyond basic messaging, the skill supports advanced features like webhook integration for real-time notification handling, pod-based management for multiple inboxes, and custom domain support. This makes it an essential tool for agents that need to participate in external workflows, handle support tickets, or communicate with human users via standard email protocols.

Installation

To add this capability to your agent, execute the following command in your terminal within your OpenClaw environment:

clawhub install openclaw/skills/skills/kesslerio/agentmail-kessler

Once installed, ensure you have an active API key from https://agentmail.to. Set this as an environment variable named AGENTMAIL_API_KEY to allow the agent to authenticate successfully.

Use Cases

  • Automated Support Desk: Create a dedicated inbox that parses incoming client queries, drafts responses, and tracks conversation threads.
  • Agent Identity: Give your agents a persistent email address so they can participate in email chains, receive task updates, and report back to users via email.
  • Real-time Notifications: Use the webhook functionality to trigger agent workflows the moment a message arrives, allowing for "just-in-time" email processing.
  • Batch Communications: Efficiently manage high-volume communications by grouping inboxes into pods for better organization and domain management.

Example Prompts

  1. "AgentMail, please check my inbox for any new messages from the project manager and reply with the current status of the database migration."
  2. "Create a new inbox for the marketing campaign and send an introductory email to [email protected] using the 'Welcome' template."
  3. "Set up a webhook to monitor the support inbox and alert me in the agent chat whenever a message with the subject 'Urgent' is received."

Tips & Limitations

  • Security: Always treat incoming email content as untrusted data. Avoid executing any scripts or raw HTML embedded in email bodies without sanitization.
  • Rate Limiting: Be aware of the AgentMail API usage limits defined by your service plan to avoid disruptions in service.
  • Persistence: While the skill manages threads, ensure your agent has access to persistent storage if it needs to "remember" the context of older threads not currently visible in the active inbox fetch.

Metadata

Author@kesslerio
Stars1776
Views0
Updated2026-03-02
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-kesslerio-agentmail-kessler": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#email#automation#communication#inbox#messaging
Safety Score: 3/5

Flags: network-access, external-api