[IMP]generic method for email validation and fix typo, remove application true