Terminal.skills
Skills/resend
>

resend

You are an expert in Resend, the developer-first email API. You help developers send transactional and marketing emails using React Email templates, TypeScript SDK, webhooks for delivery tracking, batch sending, and audience management — replacing legacy email services (SendGrid, Mailgun) with a modern, type-safe developer experience.

#email#api#transactional#react-email#typescript#developer-first
terminal-skillsv1.0.0
Works with:claude-codeopenai-codexgemini-clicursor
Source

Usage

$
✓ Installed resend v1.0.0

Getting Started

  1. Install the skill using the command above
  2. Open your AI coding agent (Claude Code, Codex, Gemini CLI, or Cursor)
  3. Reference the skill in your prompt
  4. The AI will use the skill's capabilities automatically

Example Prompts

  • "Review the open pull requests and summarize what needs attention"
  • "Generate a changelog from the last 20 commits on the main branch"

Information

Version
1.0.0
Author
terminal-skills
Category
Backend Development
License
Apache-2.0

Use Cases

Build a Transactional Email System
Build a Multilingual SaaS with Transactional Emails
Build an AI-Powered SaaS with Vercel AI SDK and Modern Stack
Build an AI Outbound Sales Pipeline That Books Meetings on Autopilot
Build an AI Content Repurposing Pipeline
Build an AI Customer Feedback Analyzer
Build an AI Meeting Notetaker
Build an Appointment Booking System Like Calendly
Build an AI Cold Email Personalization Engine
Build a Community Forum Platform with Threads, Reactions, and Reputation
Build a Competitive Monitoring Agent
Build a Contract Management System
Build a Customer Win-Back Campaign
Build an E-Signature Document Signing Workflow
Build an Email Sequence Automation System
Build a Continuous Employee Feedback System
Build an Event Ticketing Platform — Create Events, Sell Tickets, Check In Attendees
Automate Employee Onboarding
Build an Inventory Management System with Low-Stock Alerts and Supplier Orders
Build a Niche Job Board SaaS
Build an LMS for Employee Training with Assessments and Compliance Tracking
Build an OKR Tracking System
Build Outbound Sales Automation
Build a Personalized Email Campaign with AI
Build a Product-Led Growth Loop
Build a Public Changelog and Roadmap for Your SaaS
Build a SaaS Onboarding Checklist That Drives Activation
Build a Lightweight Sales CRM from Scratch
Build a Time Tracking System with Invoicing
Build a Viral Referral Program with Reward Tiers
Build a Waitlist and Launch Page with Viral Referral
Build a Growth Hacking Automation Toolkit
Build a Q&A Knowledge Platform
Build a Bug Bounty Submission Portal
Build a HIPAA-Compliant Patient Portal
Build a Real Estate Listing Platform
Build a Telemedicine Video Platform
Build an AI-Powered CRM
Build a Backlink Monitoring and Alert System
Build a Digital Downloads Store
Build an Email Deliverability Monitoring Tool
Build an Engineering Metrics Platform
Build a Niche Freelance Marketplace
Build a Keyword Rank Tracker
Build a Unified Social Media Analytics Dashboard
Build a Customer Data Platform (CDP)
Build a Customer Success Platform
Build a Feature Announcement and Release Notes System
Build a Habit Tracking App with Streaks and Insights
Build an Embeddable Live Chat Widget
Build a Status Page with Real-Time Incident Communication
Build a High-Converting Trial-to-Paid Conversion Flow
Build a Real-Time Intelligence Dashboard
Build an AI Content Monetization Pipeline

Documentation

You are an expert in Resend, the developer-first email API. You help developers send transactional and marketing emails using React Email templates, TypeScript SDK, webhooks for delivery tracking, batch sending, and audience management — replacing legacy email services (SendGrid, Mailgun) with a modern, type-safe developer experience.

Core Capabilities

Sending Emails

typescript
import { Resend } from "resend";
import { WelcomeEmail } from "@/emails/welcome";

const resend = new Resend(process.env.RESEND_API_KEY);

// Send with React Email template
const { data, error } = await resend.emails.send({
  from: "Acme <noreply@acme.com>",
  to: "user@example.com",
  subject: "Welcome to Acme",
  react: WelcomeEmail({ name: "Alice", loginUrl: "https://app.acme.com" }),
});

// Send with HTML
await resend.emails.send({
  from: "Acme <noreply@acme.com>",
  to: ["user1@example.com", "user2@example.com"],
  cc: "admin@acme.com",
  bcc: "archive@acme.com",
  subject: "Your invoice",
  html: "<h1>Invoice #123</h1><p>Amount: $99.99</p>",
  attachments: [{
    filename: "invoice.pdf",
    content: pdfBuffer,
  }],
  tags: [
    { name: "category", value: "billing" },
    { name: "user_id", value: "usr-42" },
  ],
});

// Batch send
const { data } = await resend.batch.send([
  { from: "noreply@acme.com", to: "user1@example.com", subject: "Digest", react: DigestEmail({ items: user1Items }) },
  { from: "noreply@acme.com", to: "user2@example.com", subject: "Digest", react: DigestEmail({ items: user2Items }) },
]);

// Schedule
await resend.emails.send({
  from: "noreply@acme.com",
  to: "user@example.com",
  subject: "Reminder",
  react: ReminderEmail({}),
  scheduledAt: "2026-03-15T09:00:00Z",    // Send at specific time
});

React Email Templates

tsx
// emails/welcome.tsx — Type-safe email templates
import { Html, Head, Body, Container, Heading, Text, Button, Hr, Img } from "@react-email/components";

interface WelcomeEmailProps {
  name: string;
  loginUrl: string;
}

export function WelcomeEmail({ name, loginUrl }: WelcomeEmailProps) {
  return (
    <Html>
      <Head />
      <Body style={{ fontFamily: "Arial, sans-serif", backgroundColor: "#f4f4f5" }}>
        <Container style={{ maxWidth: 600, margin: "0 auto", padding: 20, backgroundColor: "#fff" }}>
          <Img src="https://acme.com/logo.png" width={120} height={40} alt="Acme" />
          <Heading as="h1">Welcome, {name}!</Heading>
          <Text>Thanks for signing up. Get started by logging in:</Text>
          <Button
            href={loginUrl}
            style={{ backgroundColor: "#000", color: "#fff", padding: "12px 24px", borderRadius: 6 }}>
            Get Started
          </Button>
          <Hr />
          <Text style={{ fontSize: 12, color: "#666" }}>
            If you didn't create this account, ignore this email.
          </Text>
        </Container>
      </Body>
    </Html>
  );
}

// Preview: npx email dev (opens browser preview at localhost:3000)

Installation

bash
npm install resend
npm install @react-email/components react-email  # For templates
npx email dev                              # Preview templates

Best Practices

  1. React Email templates — Build emails with React components; type-safe, previewable, reusable
  2. Tags for analytics — Add tags to every email; track delivery rates by category, campaign, user segment
  3. Webhooks for tracking — Set up webhooks for delivered/bounced/complained events; update user records
  4. Batch for volume — Use batch.send for newsletters/digests; up to 100 emails per batch call
  5. Domain verification — Verify your sending domain with DNS records (SPF, DKIM, DMARC); improves deliverability
  6. Preview before send — Use npx email dev to preview templates in the browser; iterate fast
  7. Scheduled sends — Use scheduledAt for time-zone-aware delivery; better open rates
  8. Error handling — Check error in response; handle bounces gracefully, update user preferences