DEV Community

Alex Spinov
Alex Spinov

Posted on

Resend Has a Free Email API for Developers — Here's How to Use It

SendGrid's API is clunky. Mailgun is complex. Resend is a modern email API built by developers, for developers — beautiful dashboard, simple SDK, and a generous free tier.

What Is Resend?

Resend is an email API that lets you send transactional emails with a simple SDK. Built by the same team behind React Email.

Free Tier

  • 100 emails/day
  • 3,000 emails/month
  • 1 custom domain
  • Full API access

Quick Start

npm install resend
Enter fullscreen mode Exit fullscreen mode
import { Resend } from 'resend';

const resend = new Resend('re_123456789');

await resend.emails.send({
  from: 'hello@yourdomain.com',
  to: 'user@example.com',
  subject: 'Welcome!',
  html: '<h1>Welcome to our platform!</h1>',
});
Enter fullscreen mode Exit fullscreen mode

With React Email

import { Resend } from 'resend';
import WelcomeEmail from './emails/WelcomeEmail';

const resend = new Resend('re_123456789');

await resend.emails.send({
  from: 'hello@yourdomain.com',
  to: 'user@example.com',
  subject: 'Welcome!',
  react: <WelcomeEmail name="John" />,
});
Enter fullscreen mode Exit fullscreen mode

Key Features

  • Simple API — send emails in 3 lines
  • React Email — build templates with React
  • Webhooks — delivery, open, click events
  • Custom domains — send from your domain
  • Batch sending — up to 100 emails per request
  • Attachments — files up to 40MB
  • Dashboard — logs, analytics, domain management

Why Resend

Feature Resend SendGrid Mailgun
DX Excellent Average Average
Free tier 3K/month 100/day 100/day (trial)
React Email Built-in No No
Dashboard Modern Dated Dated
SDK Clean Verbose OK
Setup time 5 min 30 min 30 min

Get Started


Sending email reports with scraped data? My Apify actors integrate with any email service. Custom solutions: spinov001@gmail.com

Top comments (0)