agentmail-integration
by synesthesia-wav
Browser & AutomationBrief
Integrate AgentMail API for AI agent.
Description
What This Skill Does
AgentMail is an API-first email platform built for AI agents. It lets agents create and manage inboxes programmatically, send and receive emails, and respond to incoming messages via webhooks. Includes semantic search, automatic labeling, and structured data extraction on email content.
Unlike Gmail or Outlook, AgentMail is designed for programmatic access with no rate limits, webhook support, and semantic search built in, making it practical for high-volume or event-driven agent workflows.
When to Use It
- Giving an AI agent its own dedicated email address
- Sending automated email replies on behalf of an agent
- Triggering workflows when an agent inbox receives a message
- Routing incoming emails through human review before processing
- Searching an agent's inbox by meaning rather than keywords
Example Workflow
User asks: Create an inbox for my agent and send a welcome email to a new user
- 1
Initialize AgentMail client using AGENTMAIL_API_KEY
- 2
Create inbox with a custom username to generate a predictable address
- 3
Send email to recipient with both plain text and HTML body
- 4
Return the new inbox address and sent message ID
Agent inbox my-agent@agentmail.to created and welcome email delivered to recipient
Requirements
- AgentMail account (sign up at console.agentmail.to)
- AGENTMAIL_API_KEY environment variable
Installation
clawhub install synesthesia-wav/agentmail-integrationRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.