Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
🔒 Security: Webhook allowlist to prevent prompt injection
What This Skill Does
AgentMail is an email platform built for AI agents. It provides programmatic inbox creation, send and receive via API, and real-time webhook events for incoming messages. It replaces consumer email providers like Gmail when agents need dedicated email identities or high-volume sending without rate limits.
AgentMail avoids OAuth complexity and rate limits of consumer email providers, making programmatic email access straightforward for agents.
When to use it
- Giving an AI agent its own email address for external service signups
- Triggering agent actions when a customer emails a support inbox
- Sending automated notifications with file attachments from an agent
- Building document processing pipelines driven by email intake
- Routing and filtering incoming emails to different agent sessions by sender
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Set up an inbox for my support agent and alert me in Slack when a customer emails in
- 1Creates a new inbox via the AgentMail API with a custom username
- 2Registers a webhook endpoint to receive real-time email events
- 3Configures a sender allowlist to block prompt injection from untrusted addresses
- 4Sets the webhook delivery channel to Slack with the target channel ID
Inbox support-agent@agentmail.to is created; incoming emails from allowlisted senders trigger a Slack notification with the subject and body
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.