bixlabs / authentication

A module in Go for authentication
1 stars 0 forks source link

[AM-17] Configure transactional email services #41

Closed acabreragnz closed 5 years ago

acabreragnz commented 5 years ago

Description

The aim of this pr is to add the implementation of some email providers, like sendgrid, mailgun and smtp.

Stories

https://bixlabs.atlassian.net/browse/AM-17

List of changes

Steps to Test or Reproduce

Change it to a concrete provider: (SMTP)

EMAIL_PROVIDER=smtp
SMTP_USERNAME=...
SMTP_PASSWORD=...

or (Mailgun)

EMAIL_PROVIDER=mailgun
MAILGUN_DOMAIN=...
MAILGUN_API_KEY=...

or (Sendgrid)

EMAIL_PROVIDER=sendgrid
SENDGRID_API_KEY=...

You should receive a forgot email message.

Impacted Areas in Application

jac1013 commented 5 years ago

Thanks Toni, really well done!