librecores / librecores-web

LibreCores Web Site
https://www.librecores.org/
Other
35 stars 30 forks source link

Provide infrastructure to send transactional emails #94

Open wallento opened 7 years ago

wallento commented 7 years ago

Despite everyone likes some silence in their Inbox, we probably need some mailing. For example a welcome message, once a project is added, any action related to orgs, etc.

recrsn commented 7 years ago

Hi @wallento I would like to implement this feature over this weekend. Currently I'm thinking to start with the basic ones like welcome messages. If there is a complete list of actions where mails could be sent, and a consensus on it, I would implement them too.

wallento commented 7 years ago

That sounds great. I think setting it up with AWS is straight forward then. A welcome message would be excellent and one after a project is set up. Finally, a mass mailing from administrators would maybe be useful as things are changing a lot this year.

imphil commented 7 years ago

Actually this bug needs more than just "sending mails". We need a "notification system", including a way for people to opt out and opt in to just specific messages (opt out ability is a must-have). Ideally we are also able to present the same notifications on the web page itself.

Before anything can be done here please write up an implementation plan.

berndca commented 7 years ago

I would recommend using a dedicated email vendor like mailgun over AWS SES. mailgun for instance handles opt in and opt out and has a lot of other useful features and it's free for less than 10k emails per month.

wallento commented 7 years ago

@Agathver can you have a look about available bundles for our purpose and how they would integrate?

wallento commented 7 years ago

@berndca Interesting, thanks!

recrsn commented 7 years ago

https://github.com/azine/email-bundle looks good. It provides out-of-the box configuration for notification delivery. What I would suggest is to send welcome messages, notifications and other transactional emails from Amazon SES from a <something>@librecores.org address. And send mass mails using mailchimp or sendgrid using <something>@<subdomain>.librecores.org such as newsletters.librecores.org. Using SES for mass mails hurts domain reputation, and we risk landing into the spam box.

I'm mentioning this from my own experience during my last summer internship. They sent mass mails using SES and after 2-3 such mass mails, yahoo started flagging their mail.

imphil commented 7 years ago

Since the discussion here is valuable to what we want to do, I'm morphing this bug to track the progress of sending transactional emails. I'm evaluating AWS and mailgun for now, and will get back with the results of that.