Resend
by @mjrussell
Manage received (inbound) emails and attachments via Resend API. Use when user asks about their emails, received messages, or email attachments.
clawhub install resendπ About This Skill
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
1. Sign up at resend.com
2. Set up inbound email routing for your domain
3. Create API key at API Keys β Create API key (needs read permissions)
4. Set environment variable: export RESEND_API_KEY="re_your_key"
Commands
List Emails
resend email list # List recent emails (default 10)
resend email list -l 20 # List 20 emails
resend email list --json # Output as JSON
Get Email Details
resend email get # Show email details
resend email get --json # Output as JSON
Attachments
resend email attachments # List attachments
resend email attachment # Get attachment metadata
resend email attachments --json # Output as JSON
Domains
resend domain list # List configured domains
resend domain get # Get domain details with DNS records
resend domain list --json # Output as 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' # Get ID
resend email get
User: "What attachments are on that email?"
resend email attachments
User: "What domains do I have set up?"
resend domain list
User: "Show me the full content of email X"
resend email get
Notes
--json flag and pipe to jq for scriptingβοΈ Configuration
1. Sign up at resend.com
2. Set up inbound email routing for your domain
3. Create API key at API Keys β Create API key (needs read permissions)
4. Set environment variable: export RESEND_API_KEY="re_your_key"
π Tips & Best Practices
--json flag and pipe to jq for scripting