error mail condition fail