DEV Community

Alex Spinov
Alex Spinov

Posted on

Resend Has a Free Email API — Send 3,000 Emails/Month With 3 Lines of Code

Why Developers Hate Email

SendGrid wants $20/month for basic features. AWS SES requires a PhD in IAM policies. Mailgun's pricing page needs a spreadsheet to decode.

You just want to send a password reset email.

Resend: Email for Developers Who Value Their Time

Resend is an email API built by the creator of React Email. It does one thing well: send transactional emails with a developer-first API.

Free Tier

  • 3,000 emails/month (free forever)
  • 100 emails/day limit
  • Custom domain support
  • No credit card required

Send an Email in 3 Lines

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>Welcome aboard</h1>'
});
Enter fullscreen mode Exit fullscreen mode

That is it. No SMTP configuration. No template engines. No 47-step setup wizard.

Python? Also 3 Lines

import resend
resend.api_key = 're_123456'

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

Why Developers Are Switching

1. React Email Integration

Build email templates with React components. No more HTML tables from 2005.

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

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

2. Webhook Events

Know when emails are delivered, opened, clicked, or bounced. Real-time webhooks, not batch reports from yesterday.

3. Domain Verification in Minutes

Add 3 DNS records. Resend verifies them automatically. You are sending from your@company.com in under 10 minutes.

Resend vs The Competition

Feature Resend (Free) SendGrid (Free) AWS SES
Monthly emails 3,000 100/day 62,000*
Setup time 5 min 30 min 2+ hours
React templates Yes No No
API simplicity 3 lines 10+ lines 20+ lines
Credit card No Yes Yes

*AWS SES free tier only from EC2 instances

When to Use Something Else

  • 100K+ emails/day: AWS SES is cheaper at scale
  • Marketing campaigns: Use Mailchimp or ConvertKit
  • Complex automation: SendGrid or Postmark have more workflow features

For transactional emails (password resets, notifications, receipts), Resend is the fastest path from zero to sent.

Get Started

  1. Sign up at resend.com
  2. Get your API key
  3. Send your first email in under 5 minutes

Building a product that needs data from the web? I build production scrapers for any website — e-commerce, reviews, news, social media. Check out 88+ ready-made scrapers on Apify or email spinov001@gmail.com for a custom solution.

Top comments (0)