add email validation directive