Refactor sending emails about new comments