This guide will help you configure Resend so the project can send email notifications.
By the end of this guide, you will have:
- ✅ Created (or signed in to) a Resend account
- ✅ Generated a Resend API key
- ✅ Configured the required environment variables
- ✅ Enabled email automation for the project
- Create a Resend Account
- Sign Up or Sign In
- Generate an API Key
- Copy Your API Key
- Configure the Project
- Example Configuration
- Setup Complete
Click Get started.
After clicking Get started, you'll be redirected to the Resend authentication page.
From here, either:
- Sign up for a new account.
- Sign in if you already have one.
Choose whichever option applies to you.
After signing in, you'll be taken to the onboarding page.
Click the Add API Key button.
Resend will generate an API key for you.
Copy the API key and keep it somewhere safe.
You will use this key when configuring your project's environment variables.
Open your project's .env file and locate the following section:
# Email Automation
# See docs/setup.md for how to get your Resend API key and configure your email.
RESEND_API_KEY="your_resend_api_key"
EMAIL_ID="your_email_id"
EMAIL_MIN_INTERVAL_SECONDS="5.0" # Rate limiting between emailsConfigure the variables as follows:
Replace:
your_resend_api_keywith the API key you copied from the Resend dashboard.
❗ IMPORTANT
Use the same email address that you used to sign up for your Resend account.
For example:
EMAIL_ID="you@example.com"The free Resend plan only allows sending emails from your verified account email.
If you wish to send emails from a different address or your own domain, you will need to upgrade to a paid plan and configure domain verification within Resend.
Leave this value unchanged:
EMAIL_MIN_INTERVAL_SECONDS="5.0"This setting controls the minimum delay between outgoing emails and is suitable for this project.
# Email Automation
# See docs/setup.md for how to get your Resend API key and configure your email.
RESEND_API_KEY="re_xxxxxxxxxxxxxxxxxxxxxxxxx"
EMAIL_ID="your-email@example.com"
EMAIL_MIN_INTERVAL_SECONDS="5.0"Your project is now configured to send emails using Resend.
If you wish, you can further configure additional Resend features, including:
- Custom sending domains
- Domain verification
- Webhooks
- Email analytics
- Audience management
- Templates
These features are optional and are not required for this project.



