[OE-3251] handle errors with email submission.