puzzling error on heroku running rake task - might this help?
diagnostics for heroku mail sending weirdness
more debugging code
whoops! that's it.  Should have been checking for received_messages, not just messages
remove debugging messages
user can ring admin bell
remove useless debug javascript
notify admins on first user message or when admin requests notifications
sticky bell notification