ResendAnnouncement
Resend CLI 2.0
Summary
Resend CLI 2.0 gives terminal-based access to the full Resend API and adds four features: sending emails from local React (.tsx/.jsx) files, managing automations and events, one-command webhook listening with automatic tunneling, and Agent Skills for autonomous API interaction. Users can now create automation runs, inspect results, and build multi-step workflows directly from the command line. The webhook listener automatically sets up a tunnel and forwards all event types to a local server, eliminating the need for separate tunneling tools. Agent Skills provide a structured interface enabling AI agents to independently manage their own inbox, sign up for accounts, receive confirmation emails, process attachments, and respond without manual intervention. Other improvements include programmatic log retrieval, enhanced API key storage via the system keychain (macOS Keychain, Linux Secret Storage, Windows Credential Manager), and the deprecation of the team command in favor of auth.
Context
Resend CLI gives you access to the full Resend API without leaving your terminal. Version 2.0 introduces four new features: sending emails from local React files, automations and events management, webhook listening, and skills for AI agents.
Approach / What changed
The update adds new CLI subcommands such as resend automations list , resend event-schemas create , and resend webhooks listen . It also integrates agent skills and improves security by storing API keys in the system keychain (macOS Keychain, Linux Secret Storage, Windows Credential Manager).
Takeaways
The Resend CLI 2.0 supports sending emails using local React Email (.tsx or .jsx) files directly from the terminal, in addition to previously supported .html files.
The resend webhooks listen command replaces manual tunneling setup by automatically handling the tunnel and forwarding all webhook event types to a local server.
Agent Skills give AI agents a defined interface to the Resend API, enabling them to have their own inbox, sign up for accounts, receive confirmation emails, process attachments, and respond autonomously.
FAQ
How do I send emails using local React files with Resend CLI 2.0?
The CLI now supports local .tsx or .jsx React Email files as email templates. You can use them directly from your terminal without needing to render them to HTML first.
What is the advantage of the new webhook listening command?
The `resend webhooks listen` command eliminates the need for a separate tunneling tool and manual configuration. It automatically creates a tunnel and forwards incoming events to your local server, supporting all webhook event types for easy local testing.
How can AI agents interact with the Resend API using the CLI?
The CLI includes Agent Skills that give agents a well-defined interface for interacting with the Resend API. Agents can have their own inbox, sign up for accounts, receive confirmation emails, process attachments, and respond to users without manual intervention.
Source and freshness
- Source
- resend.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.