[TASK] Email was not sent if previous entry was with errors