better naming to email validation function