Skip to content
DiscordTwitterLinkedInInstagram

Resend Integration

Send reliable, production-ready emails from your Codepup AI project using Resend.

With Resend integration, Codepup AI automatically connects your project to a modern email delivery system - no SMTP setup, no boilerplate, no extra infrastructure.

Transactional Emails High Deliverability Auto Configured

Resend is a modern email API built for developers, focused on excellent deliverability and a simple API.

With Codepup AI + Resend, you can send:

  • Authentication emails (OTP, magic links)
  • Order confirmation emails
  • Contact form submissions
  • Notifications and alerts
  • System-generated emails from your app

Make sure you have:

  • A Resend account - sign up at resend.com
  • At least one verified sender email or domain in Resend

How Resend Integration Works in Codepup AI

Section titled “How Resend Integration Works in Codepup AI”
  1. Create an API key in your Resend dashboard
  2. Select E-Commerce Store when starting your Codepup AI project
  3. Enter your Resend API key alongside your Stripe key in the keys input screen
  4. Codepup AI wires email functionality into your project automatically
  5. Emails are sent securely via Resend from your verified sender


  1. Log in to your Resend Dashboard at resend.com
  2. Open API Keys from the left sidebar
  3. Click Add API Key
  4. Give it a name (e.g. Codepup AI-project)
  5. Copy the generated key - it starts with re_...

Create a new Resend API key

Copy the generated Resend API key


Step 2 - Configure a Verified Sender in Resend

Section titled “Step 2 - Configure a Verified Sender in Resend”

Before emails can be sent, you need to verify a sender in your Resend dashboard.

You can verify:

  • A single email address (e.g. no-reply@yourdomain.com) - quick to set up
  • An entire domain (e.g. yourdomain.com) - recommended for production

This verified sender email is used automatically by Codepup AI when sending emails from your project.


Step 3 - Enter Your Resend Key in Codepup AI

Section titled “Step 3 - Enter Your Resend Key in Codepup AI”

When starting a new project on Codepup AI, type your project idea in the prompt box and select E-Commerce Store (fullstack + payment + email integration).

Codepup AI will show a keys input screen asking for both your Stripe Secret Key and your Resend API Key before building begins.

Keys input screen showing Stripe and Resend API key fields

Enter your Resend API key in the Resend API Key field and click Proceed.


Step 4 - Codepup AI Wires Everything Automatically

Section titled “Step 4 - Codepup AI Wires Everything Automatically”

Once your keys are entered and the project is generated, Codepup AI automatically:

  • Connects your project to the Resend API
  • Sets up email sending for order confirmations, contact forms, and authentication flows
  • Stores your API key securely as an environment variable

You do not need to write any email code or configure SMTP manually.


Once connected, Codepup AI enables email sending for:

Email TypeTrigger
Order ConfirmationCustomer places an order
Authentication / OTPUser signs up or logs in
Contact FormVisitor submits the contact form
App NotificationsWorkflow-triggered system events

Codepup AI securely manages the required environment variables for you - you never need to set these manually:

RESEND_API_KEY=re_xxxxxxxxxxxxxxxxxxxx
FROM_EMAIL=no-reply@yourdomain.com