validate email address in the GUI