resend
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 # 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 <id> # Show email details
resend email get <id> --json # Output as JSON
Attachments
resend email attachments <email_id> # List attachments
resend email attachment <email_id> <attachment_id> # Get attachment metadata
resend email attachments <email_id> --json # Output as JSON
Domains
resend domain list # List configured domains
resend domain get <id> # 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 <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
--jsonflag and pipe tojqfor scripting - Email IDs are UUIDs shown in list output
More from thinkfleetai/thinkfleet-engine
feishu-bridge
Connect a Feishu (Lark) bot to ThinkFleet via WebSocket long-connection. No public server, domain, or ngrok required. Use when setting up Feishu/Lark as a messaging channel, troubleshooting the Feishu bridge, or managing the bridge service (start/stop/logs). Covers bot creation on Feishu Open Platform, credential setup, bridge startup, macOS launchd auto-restart, and group chat behavior tuning.
13bambu-local
Control Bambu Lab 3D printers locally via MQTT (no cloud). Supports A1, A1 Mini, P1P, P1S, X1C.
10voice-transcribe
Transcribe audio files using OpenAI's gpt-4o-mini-transcribe model with vocabulary hints and text replacements. Requires uv (https://docs.astral.sh/uv/).
10whoop
WHOOP morning check-in (recovery/sleep/strain) with suggestions.
6gitignore-gen
Generate .gitignore by analyzing your project. Use when setting up a new repo.
5tmux-agents
Manage background coding agents in tmux sessions. Spawn Claude Code or other agents, check progress, get results.
5