Self Hosted
Adding email connectivity to Self hosted Metlo for notifications and password resets
Metlo relies on email messaging for certain functionality. For example:
- Sending a password reset link to a user
- Sending alerts over email
While not required, not enabling email messaging will limit these actions, and thus Metlo recommends enabling it.
Configuration
Add the following env vars to /opt/metlo/.env
:
SMTP_SERVER
: Address where the email server residesSMTP_USER
: User used to authorize emails. Can be different from EMAIL_SENDERSMTP_PASSWORD
: Password for user used in SMTP_USEREMAIL_SENDER
: Default user email senderSELF_LINK
: Link to an accessible address for the metlo frontend
Metlo requires TLS enabled email service providers.
Example Configuration
Sendgrid
Sendgrid
Mailgun
Mailgun
Gmail
Gmail