astrosat / django-astrosat-users

Common backend library for Astrosat projects' user management
GNU General Public License v3.0
2 stars 0 forks source link

setup transactional email service provider support #16

Closed allynt closed 3 years ago

allynt commented 4 years ago

Rather than use a real email address for sending emails, we ought to use a transactional service. I made the following claim on the #tech-team channel:

Re: transactional email service providers...

I did some digging last night and got very excited b/c this is really straightforward to setup in Django, b/c Django is cool.

However, it requires a paid account w/ the ESP to use. So I've decided to delay this until such time as we can decide how much money to spend. I have had a look at the supported ESPs I can use w/ The Backend and I've come up w/ the following list:

  • Amazon SES: pay-as-you-go (w/ slightly cheaper rates b/c we're already using AWS); $.10/email after 1st 62K, $.12/gb of attachments
  • Mailgun: £79/month, or a free plan (10K email/month) (but sounds like free == "non-commercial")
  • Mailjet: $9/month for 30K email/month, or a free plan (6K email/month)
  • Mandrill (mailchimp): tiered system; $20 for 25K email, but also requires mailchimp account
  • Postmark: $10/month for 10K email/month + $1.25 for every 1K above that
  • SendGrid: $14-$30/month for 40K-100K email/month (or a free plan that looks "non-commercial")
  • SendinBlue: £15/month for 40K email/month; £23/month to get rid of their annoying logo; £39/month for 120K w/ lots of stupid marketing
  • SparkPost: $30/month vs $75/month (couldn't find the limits on their page)

FWIW, I can code things up in a generic way so that we can switch from one to another as needed

look into https://anymail.readthedocs.io/en/stable/