Replace references to user.name with user.email.