make sure email entries are valid