| name | resend |
| description | Manage received (inbound) emails and attachments via Resend API. Use when user asks about their emails, received messages, or email attachments. |
| homepage | https://resend.com |
| metadata | {"clawdbot":{"emoji":"📧","requires":{"bins":["resend"],"env":["RESEND_API_KEY"]}}} |
Resend CLI
CLI for the Resend email API. Query received (inbound) emails and attachments.
Installation
npm install -g @mjrussell/resend-cli
Setup
- Sign up at resend.com
- Set up inbound email routing for your domain
- Create API key at API Keys → Create API key (needs read permissions)
- Set environment variable:
export RESEND_API_KEY="re_your_key"
Commands
List Emails
resend email list
resend email list -l 20
resend email list --json
Get Email Details
resend email get <id>
resend email get <id> --json
Attachments
resend email attachments <email_id>
resend email attachment <email_id> <attachment_id>
resend email attachments <email_id> --json
Domains
resend domain list
resend domain get <id>
resend domain list --json
Usage Examples
User: "Do I have any new emails?"
resend email list -l 5
User: "Show me the latest email"
resend email list --json | jq -r '.data.data[0].id'
resend email get <id>
User: "What attachments are on that email?"
resend email attachments <email_id>
User: "What domains do I have set up?"
resend domain list
User: "Show me the full content of email X"
resend email get <email_id>
Notes
- This CLI only supports received (inbound) emails, not sending
- Use
--json flag and pipe to jq for scripting
- Email IDs are UUIDs shown in list output