Implemented email notifications for failed posts