emails will be send upon failure