DemocracyOS / core

1 stars 1 forks source link

Add the notification mailing to a few events #52

Closed guillecro closed 6 years ago

guillecro commented 6 years ago

With the notification service working, we can add to some particular events the possibility to send some emails.

We can also disable the sending of emails with a specific ENV variable.

The events are:

  1. When the author of the document likes a comment (Send email to the user of the comment)
  2. When the author resolves a comment (Send email to the user of the comment)
  3. When the project is updated with contributions. (Send email(s) to the users that were approved as contributions).
  4. When closing the project (Still unsure when. Maybe when closing the whole document with it last version, or maybe when every version closes their limitDate)
guillecro commented 6 years ago

Fow now we will make the first 3 events

guillecro commented 6 years ago

Merged in #67