validate email address format when creating/updating accounts