Re:Don't Spam Your Users: Batch Notifications for Rails
by kevinastone on Wednesday April 24, 2013 @03:16AM
(#5600279)
My similar implementation offers these emailing options (every, digest or none). The nice thing about this approach is you can just add logic in the post_commit handler to route the notifications appropriately (instant email, digest queue or /dev/null appropriately based on user preferences)
For now Meldium uses a heuristic to batch so if only one event occurs then you still get the subject line brevity that you mention.