change the type name from email to emailAddress