DEV Community

Alex Spinov
Alex Spinov

Posted on

Resend Has a Free Email API for Developers That Actually Works

Resend is an email API built for developers. Send transactional emails with a simple API, React Email templates, and reliable delivery.

Free Tier

  • 3,000 emails/month — free forever
  • 1 custom domain
  • React Email — build emails with React
  • Webhooks — delivery, bounce, complaint events
  • API + SDKs — Node.js, Python, Go, Ruby, PHP
  • SMTP — drop-in replacement

Send an Email

import { Resend } from 'resend';

const resend = new Resend('re_123456');

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

React Email Templates

import { Html, Head, Body, Text, Button } from '@react-email/components';

export default function WelcomeEmail({ name }) {
  return (
    <Html>
      <Body>
        <Text>Welcome, {name}!</Text>
        <Button href="https://app.example.com">Get Started</Button>
      </Body>
    </Html>
  );
}
Enter fullscreen mode Exit fullscreen mode

Resend vs SendGrid

Feature Resend SendGrid
DX Modern API Legacy
Free tier 3K/month 100/day
Templates React Email Drag-and-drop

Need email setup? GitHub or spinov001@gmail.com

Top comments (0)