logo
Local Environment

Resend

Setting Up Resend

Resend is the email service used by Framecast AI to send transactional emails. This includes welcome emails, password resets, model training notifications, and headshot delivery confirmations.

Create a Resend Account

Sign up at resend.com and verify your domain. Resend requires a verified sending domain to deliver emails.

Get Your API Key

Navigate to the API Keys page and generate a new key.

Update Your .env File

Open your .env file and set the following values:

RESEND_API_KEY=your-resend-api-key
RESEND_SENDER_EMAIL=Your App <noreply@yourdomain.com>

The sender email must use a domain that is verified in your Resend account.

Customizing Email Templates

Framecast AI ships with built in email templates for all transactional emails. If you want to customize the content, styling, or logic of these emails, you will find the relevant code in:

  • lib/emails/ for the email sending logic and templates
  • lib/resend.ts for the Resend client configuration

Resend offers 3,000 free emails per month on its free tier. This is more than enough for development and early stage products.

Why Resend?

If you are wondering why Resend over something like AWS SES, here is a quick comparison:

FeatureResendAWS SES
Free Tier3,000 emails/month3,000 messages/month (first 12 months only)
Setup TimeMinutesHours (complex approval process)
SPF/DKIMAutomaticManual configuration
Best ForStartups, Next.js apps, MVPsHigh volume, AWS native infrastructure
Developer ExperienceExcellent SDKs, React Email supportComplex, requires paid support plan

Resend is built on top of AWS SES under the hood, so you get the same delivery infrastructure with a significantly better developer experience. If you are comfortable with AWS and need to send 100k+ emails per month, SES may be cheaper at scale. For most use cases, Resend is the faster and easier choice.