What problem does it solve?
Provides a reliable, non-interactive way to operate the Resend platform from shell scripts, CI/CD pipelines, and automation agents so developers can send emails, manage domains, broadcasts, templates, webhooks, API keys, and inspect logs without needing the dashboard or interactive prompts.
Core Features & Use Cases
- Non-interactive CI-friendly CLI: Enforce JSON output, --quiet behavior, and required flags to avoid hangs in CI.
- Full email lifecycle: Send single and batch emails, schedule/cancel/update sends, and render React Email (.tsx) templates for HTML bodies.
- Account & infra management: Create and verify domains, manage API keys and profiles, configure webhooks, and review request logs and error codes.
- Broadcasts and contacts: Create, preview, schedule, and send broadcasts to segments; manage contacts, contact properties, segments, and topics.
- Operational safety: Rules and gotchas for non-interactive use (RESEND_API_KEY usage, --yes for destructive commands, and saving webhook signing_secret).
Quick Start
Send a CI-safe email by exporting RESEND_API_KEY and running the resend emails send command with --from, --to, --subject, --text and --quiet.