Now that the PR for has added the gem after_commit_everywhere, it'd be nice to reduce the number of email job failures in Resque by making as many emails as possible be sent after commit, to ensure that they won't be trying to look up information from the database before it's been committed.
Testing Instructions: The particular emails that need to be checked will depend on the PR, but will probably include most of the following:
Notifications about comments sent to the work's creators.
Notifications about comments on admin posts.
Notifications about replies to logged-out users' comments.
Notifications about replies to logged-in users' comments.
Notifications about comment edits.
Gift notifications on posting.
Gift notifications on reveals.
Notifications about fulfilling a claimed prompt on posting.
Notifications about fulfilling a claimed prompt on reveals.
Related work notifications (though beware of and ).