Setup

Email sender (Resend / ZeptoMail)

Main-server sends team invites and transactional mail via server/email.js. The template supports both Resend and ZeptoMail. Choose one provider, put its vars in Shared Variables, and point main-server at them.

Option A — Resend (default)

Create an account at https://resend.com/signup. The free plan includes about 100 emails per day — enough for invites and light transactional mail on a self-host install.

EMAIL_SERVER=resend
RESEND_API_KEY=re_...
RESEND_FROM_EMAIL=PlaylistCraft <no-reply@yourdomain.com>

main-server refs

EMAIL_SERVER=${{shared.EMAIL_SERVER}}
RESEND_API_KEY=${{shared.RESEND_API_KEY}}
RESEND_FROM_EMAIL=${{shared.RESEND_FROM_EMAIL}}

Option B — ZeptoMail

Create an account at https://www.zoho.com/zeptomail/. Credits are purchase-based — roughly $3 can get about 10,000 email credits that expire after 6 months, which is also enough for typical self-host usage.

EMAIL_SERVER=zeptomail
ZEPTOMAIL_TOKEN=...
ZEPTOMAIL_FROM_EMAIL=no-reply@yourdomain.com
ZEPTOMAIL_FROM_NAME=Playlist Craft

main-server refs

EMAIL_SERVER=${{shared.EMAIL_SERVER}}
ZEPTOMAIL_TOKEN=${{shared.ZEPTOMAIL_TOKEN}}
ZEPTOMAIL_FROM_EMAIL=${{shared.ZEPTOMAIL_FROM_EMAIL}}
ZEPTOMAIL_FROM_NAME=${{shared.ZEPTOMAIL_FROM_NAME}}
Only configure the provider you use. Switch later by changing EMAIL_SERVER and the matching Shared Variables — no code change. Full deploy walkthrough: Deploy guide.