*Limited Launch Offer!Use code for 50% off (expires 12/31/2025)

Emails (Resend)

Set up a Resend account to handle automated email sending for your serviceCRM instance.

Resend

SlappShell serviceCRM uses Resend for sending transactional emails such as account invitations, password resets, and customer notifications for service and payments.

  1. Create a Resend Account: Sign up at resend.com.
  2. Get API Key: Generate an API key from the Resend dashboard.
  3. Verified Sender Domains: Add and verify your sender domains to ensure email deliverability.

Follow the Resend documentation to Add and Verify Sender Domains: Resend Docs - Sender Domains.

  • They recommend using a subdomain like updates.yourdomain.com for sending emails.
  • Follow their instructions to set the SPF, DKIM, and DMARC DNS records for your domain.

You can also use their SMTP relay for your email settings in Supabase Auth if needed.

You will need the following details from your Resend account:

  • Resend API Key
  • From Email Address: The verified sender email address

Enviroment Variables & Configs

Resend settings are controlled via environment variables and the business configuration file. Set your API key and email addresses as follows:

Resend Environment Variables

# In your .env file, set the following:

RESEND_API_KEY="re_..."
                

Start with env.template and rename it to env.local

Email Configuration

export const businessConfig: BusinessConfig = {...
...                
  admin: {
    email: "admin@email.com",
    from_email: "from@verifiedsenderdomain.com",
    reply_to_email: "replyto@yourdomain.com"
  }
...
                

Find this in /config/business.ts