What's the most elegant way to implement a digest email without reinventing a queueing system?
问题 I have my transactional email system setup & by default people get emails as events happen: class Comment after_create :email_original_poster def email_original_poster UserMailer.delay.notify_author_of_comment self end end However instead of getting the email as-it-happens, a chunk of my users would prefer a daily or weekly digest. What's the cleanest most elegant way to implement this? I've already got delayed_job running but this doesn't really feel like a delayed_job job since I'm queueing