clientside email validation