SendGrid
Configure Storyden to send emails through SendGrid.
SendGrid is a simple provider for sending emails with a generous free tier.
Required Configuration
Set these environment variables:
EMAIL_PROVIDER=sendgridSENDGRID_FROM_NAMESENDGRID_FROM_ADDRESSSENDGRID_API_KEYJWT_SECRET
Use the Configuration reference for complete field details.
Example
EMAIL_PROVIDER=sendgrid
SENDGRID_FROM_NAME="My Community"
SENDGRID_FROM_ADDRESS=no-reply@example.com
SENDGRID_API_KEY=SG.xxxxxxxxxxxxxxxxxxxx
JWT_SECRET=replace-with-a-long-random-secretYou can generate a JWT secret with openssl rand -hex 32.
Sender Setup
Make sure the sender address/domain is verified in SendGrid before going live, otherwise delivery can fail or end up in spam.