1
votes
        gapi.client.people.people.connections.list({
       'resourceName': 'people/me',
       'pageSize': 120,
       'personFields': 'names,phoneNumbers,emailAddresses'
     })

[i already specify emailAddresses as one of my personfields but i dont see email address in the response as shown below.this is the response in console.

1

1 Answers

0
votes

Maybe check if your scopes allow you access to email addresses and if that contact actually has an email address. I believe the API doesn't even add a field if it's empty, rather than populating a field with an empty value.