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:
When the author of the document likes a comment (Send email to the user of the comment)
When the author resolves a comment (Send email to the user of the comment)
When the project is updated with contributions. (Send email(s) to the users that were approved as contributions).
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)
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: