send mail only if tests failed