Improve error notifications to send email only when errors are recurrent