strip whitespace before validating email and name