email validation with parametrization