My system sends out messages to users (email, sms, etc). It currently sends it for every event (which is only once a day at most), but I'd like to add in a form of digest to it where a user can select to have a weekly or monthly digest of their messages. I'm looking to see if there are any existing opensource solutions for this, or existing patterns for implementing something like this.
My system does not persist any of the messages, they are sent out on an as needed basis and then forgotten. So that is the first thing that will need to happen. I'd also like to be able to create a message page on the site that will display a history of all messages.
Then there needs to be the mechanism that looks at the user preference on messages and decides when to send the messages and how to group them up into a digest form if needed.
Any pointers or thoughts would be appreciated.