podkrepi-bg / api

Nest.js REST backend for charity platform Podkrepi.bg https://podkrepi.bg/swagger
https://podkrepi.bg
MIT License
87 stars 47 forks source link

Send welcome email on successful inquiry and support request #35

Closed kachar closed 3 years ago

kachar commented 3 years ago

At the moment we have to manually greet all newcomers and this process is exhausting.

Let's send an automatic transactional email to the new registrations

kirilpopov commented 3 years ago

Intend to use mailjet. It has a free tier up to 200 emails per day (6000 per month) which should be enough as a start. The next tier is 15$ a month.

It also allows defining templates (HTML or MJML) that you use when sending emails - instead of passing the full email, you pass the template id and the data that needs to be used. This is really nice as it removes the need the deal with templates as part of the API project.

It also has a set of pre-built templates we can use until we have our own design for those.

kachar commented 3 years ago

Intend to use mailjet. It has a free tier up to 200 emails per day (6000 per month) which should be enough as a start. The next tier is 15$ a month.

It also allows defining templates (HTML or MJML) that you use when sending emails - instead of passing the full email, you pass the template id and the data that needs to be used. This is really nice as it removes the need the deal with templates as part of the API project.

It also has a set of pre-built templates we can use until we have our own design for those.

We already have SendGrid account set-up and validated.

We can switch to Mailjet as well but we need to take it to the org. level cc @igoychev

P.S. I've worked in Mailjet for 4+ years, so I'm keen on using MJML and their services. Anyhow having the MJML templates on our end gives us the freedom to depend less on another service when sending the emails (no vendor locking)

kirilpopov commented 3 years ago

Ok, makes sense to stick to SendGrid if it's already used and the account is validated.