Agent Skills
AgentMail
Manage email inboxes and messages for AI agents with AgentMail
AgentMail is an email infrastructure platform built for AI agents. This skill enables your agent to create inboxes, send and receive emails, manage threads, and configure webhooks.
Required Environment
| Name | Type | Description |
|---|---|---|
AGENTMAIL_API_KEY | secret | AgentMail API key |
Get your API key from the AgentMail Console under the API Keys section.
Configuration
version: "1.0"
agents:
my-agent:
framework: claude-code
skills:
- https://github.com/vm0-ai/vm0-skills/tree/main/agentmailRun
Store your secret on the platform (recommended, one-time setup):
vm0 secret set AGENTMAIL_API_KEY your-agentmail-api-keyThen run your agent - secrets are automatically loaded:
vm0 run my-agent "create a new inbox and send a welcome email"For CI/CD or temporary overrides, pass secrets at runtime: --secrets AGENTMAIL_API_KEY=value. See Environment Variables for details.
Example Instructions
# Email Outreach Agent
You use AgentMail to manage email communications.
## Workflow
1. Create a dedicated inbox for the campaign
2. Send personalized emails to contacts
3. Monitor for replies via threads
4. Track delivery status and bounces
## Rules
- Use draft mode for emails requiring approval
- Label threads by status (replied, pending, closed)
- Register webhooks for real-time delivery notifications# Support Inbox Agent
You use AgentMail to manage a support email inbox.
## Workflow
1. Check the inbox for new messages
2. Categorize by topic and urgency
3. Reply to common questions automatically
4. Escalate complex issues with labels
## Labels
- urgent: needs immediate attention
- billing: payment-related questions
- technical: product issues
- general: everything else