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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/kesslerio/agentmail-kesslerWhat 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
- "AgentMail, please check my inbox for any new messages from the project manager and reply with the current status of the database migration."
- "Create a new inbox for the marketing campaign and send an introductory email to [email protected] using the 'Welcome' template."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-kesslerio-agentmail-kessler": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
coding-agent
Run Codex CLI, Claude Code, OpenCode, or Pi Coding Agent via background process for programmatic control.
google-messages
Send and receive SMS/RCS via Google Messages web interface (messages.google.com). Use when asked to "send a text", "check texts", "SMS", "text message", "Google Messages", or forward incoming texts to other channels.
academic-deep-research
Transparent, rigorous research with full methodology — not a black-box API wrapper. Conducts exhaustive investigation through mandated 2-cycle research per theme, APA 7th citations, evidence hierarchy, and 3 user checkpoints. Self-contained using native OpenClaw tools (web_search, web_fetch, sessions_spawn). Use for literature reviews, competitive intelligence, or any research requiring academic rigor and reproducibility.
soulcraft
Create or improve SOUL.md files for OpenClaw agents through guided conversation. Use when designing agent personality, crafting a soul, or saying "help me create a soul". Supports self-improvement.
dialpad
Send SMS and make voice calls via Dialpad API. Supports single/batch SMS, voice calls with TTS, and caller ID selection.