An end-to-end guide on how to self-host Unsend. An opensource sending infrastructure for developers.
.env.selfhost.example
file to .env
and fill in the values.
AWS credentials
AmazonSNSFullAccess
and AmazonSESFullAccess
policies to the user. Then create a new access key for the user.Add the following environment variables.Github app credentials for login
https://<your-unsend-instance>/api/auth/callback/github
Database & Redis
Next auth url and secret
us-east-1
.
You can check available regions here
Once you logged in to unsend, it will prompt you add ses configuration.
docker-compose.yml
file for the SMTP server:
unsend
(or your custom SMTP_AUTH_USERNAME
)