resend
Manage received (inbound) emails and attachments via Resend API. Use when user asks about their emails, received messages, or email attachments.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
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
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-30
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!