master: Don't send email if no error happened