How to enable the email validation?