Write-For-Change / emaildrafter

An app to let people draft personalised emails for a good cause
GNU General Public License v3.0
10 stars 3 forks source link

Feature/mailing list #47

Open benlellouch opened 4 years ago

behradkoohy commented 4 years ago

@davidswarbrick I think Rafee set up a MailChimp on the gmail, the keys needed for it are stored in config vars in Heroku (which we need to update when we move this to prod)

rafeeJ commented 4 years ago

I’ll try this PR tomorrow so we can merge it ASAP

rafeeJ commented 4 years ago

Ok I just tried it out and I absolutely love the modal.

However, for the modal body, I think it should read: Consider subscribing to our newsletter to receive updates about new templates and upcoming features

I only really want to use this mailing list for updating people when a new template comes out, but maybe we could stretch to new features. Not sure. @davidswarbrick what do you think?

davidswarbrick commented 4 years ago

In general - does adding a mailing list necessitate some inclusion of a GDPR statement (regarding email storage)? probably worth filing a bug request for it as it'll certainly be useful for moderation/admin page email storage.

rafeeJ commented 4 years ago

@behradkoohy Did you manage to access the mailchimp account to get API keys? Or do you need to generate some?

I tried to sign up and it didn't seem to add me to any mailing lists.

benlellouch commented 4 years ago

@rafeeJ You have been added to the mailchimp database, there is no email notification set up yet.

benlellouch commented 4 years ago

I can set up an automated campaign which welcomes new users, I'll have a look at that tomorrow.

behradkoohy commented 4 years ago

@davidswarbrick (I'll comment this on the issue that Rafee created as well) https://www.litmus.com/blog/5-things-you-must-know-about-email-consent-under-gdpr/

By the sounds of it, we need to have a way of tracking consent and when it is given and we need to have a way of unsubscribing. The former is something we can track when the server receives the call from the modal that @benlellouch has implemented. The latter is slightly more difficult, I'm thinking we should have a writeforchange.uk/unsubscribe where the user can enter their email address and we remove them from the consent collection?

benlellouch commented 4 years ago

I guess the tracking of consent could be done through mailchimp (if he is subscribed then he has given consent, we could probably add some type of form in the modal explicitly saying that if you subscribe to our list you are explicity giving us consent to store you email address). There three ways of "unsubscribing" someone in mailchimp:

So the way we could do it is that our website only archives people when they ask to unsubscribe and if they want their data to be completely removed, they could drop us an email ( we could probably make an email template for that haha).

benlellouch commented 4 years ago

Actually there is an option to completely remove someone from the audience through the api. So we could have two different forms explaining what each one does.

benlellouch commented 4 years ago

Added ability for user to unsub from newsletter and to perm delete his profile (GDPR stuff). I have noticed my casing is very inconsistent, I will fix that and make a few other tweaks.

benlellouch commented 4 years ago

The messages on the modal need to be revised/more informative