I want to set up a way for users to automatically get emailed updates on Smosa which are tied to specific activities.
Because I don't want to send out too many emails each day, I want to instead build up markdown files for each notifiable user containing the last 24 hours of updates, then send it and clear out that markdown file. Essentially, it is a daily email digest.
- It should not be sent out if there is nothing in it.
- Users should be able to opt out by sending an email to actions.email-digest-optout@smosa.com and there should be a link to do so in every email.
Events
These are events that take place on the site that would qualify for adding to the email digest
- A comment is added to a board they own. And we would show this as "x new comment(s) was/were left on (board name)" as a link to the board. and this number should reset after the digest is sent out. So the idea is we only count up net new comments. Omit this if x is 0.