email and required validation