Updated parse_log_latest with consecutive occurences of error and notify on email