rake task checking for email send errors