Emails
Email Setup Documentation
We use Resend service to handle emails. For more information about integration, please consult their documentation.
Email Configuration
In the config.ts
file, set up your email addresses as follows:
Audience Management
Our boilerplate has three main axes: Clients, Affiliates, and Blog. To avoid mixing emails, we require three separate audiences.
Currently, we recommend creating three free Resend accounts to handle each audience separately. (Using a single account for multiple audiences requires an upgrade.)
Clients Account: Use this to create the
official_email
and for handling the client audience.Affiliates Account: Use this to create the
official_affiliates_email
and for handling the affiliate audience.Blog Account: This will handle emails for the blog newsletter. No need to create a specific email address, as it will initially only store emails (audience) from your newsletters.
Environment Variables
Set up the following environment variables for each account:
Important Notes
Admin Email: The
admin_email
in the config file is used for signing into your admin dashboard and receiving contact emails. You can use the same email as theofficial_email
if desired. When starting out, using your main email account (e.g., Gmail) is acceptable to avoid creating a new professional email for each new saas project.Domain Verification: To verify additional accounts using the same domain, we recommend using subdomains. For example:
Clients account: saascore.com
Affiliates account: affiliates.saascore.com
Account Management: This setup is designed to avoid extra charges while Resend requires account upgrades for separate audiences. If you choose to upgrade your account, you can use a single account and create separate audiences within it.
Last updated