resend-cli

Automate Resend CLI email sends and account management tasks from scripts and CI/CD pipelines.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/rally19/goform --skill resend-cli-rally19
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resend-cli
Source: https://github.com/rally19/goform/tree/main/.qwen/skills/resend-cli
Command: npx skills add https://github.com/rally19/goform --skill resend-cli-rally19

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

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.

Frequently Asked Questions about resend-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send transactional emails from a CI/CD pipeline without interactive prompts?

Send transactional emails from CI/CD pipelines by exporting the RESEND_API_KEY environment variable and executing the resend emails send command with the --quiet flag. This enforces non-interactive JSON output, ensuring scripts execute cleanly without hanging on user prompts.

Can I render React Email templates into HTML for broadcast emails via the command line?

Yes, you can render React Email .tsx templates into HTML bodies for broadcast emails via the command line. The CLI processes the template files directly from your scripts, allowing you to send formatted transactional or broadcast emails without manual HTML conversion.

How do I automate Resend domain verification and API key management in shell scripts?

Automate Resend domain verification and API key management in shell scripts by using the respective CLI commands with the --api-key flag for authentication. You can create, verify domains, and manage API keys programmatically, enforcing the --yes flag for any destructive actions to prevent pipeline failures.

What is the best way to inspect Resend API logs and error codes from the terminal?

The best way to inspect Resend API logs and error codes from the terminal is using the CLI's built-in log review commands. Running these commands with the --quiet flag outputs clean JSON, making it easy to parse request logs and error codes within automation agents or monitoring scripts.

Does the Resend CLI support scheduling and managing broadcast sends to contact segments?

Yes, the Resend CLI supports scheduling and managing broadcast sends to contact segments. You can create, preview, schedule, and send broadcasts directly from the terminal while managing contacts, contact properties, and segments for targeted email delivery.

Why do my Resend CLI scripts hang during destructive actions in automation environments?

Resend CLI scripts hang during destructive actions in automation environments because they require interactive confirmation. You must include the --yes flag in your commands to bypass confirmation prompts and ensure non-interactive execution in CI pipelines.