i am able to download gmail contacts using the api. without entering the user's email and password. Sending the authenticated request with a valid access_token i am able to grab all user;s contacts who has authenticated my application. now i want to download the users email messages from inbox.
1 Answer
If you grab contact , then YOu are familiar with oauth .so you just change url of contact graber of google to email..
I think YOu used this URL https://www.google.com/m8/feeds/contacts/default/full/ to get contact after authentication.Instad of this use https://mail.google.com/mail/feed/atom/ URL..
For playground visit this url : https://code.google.com/oauthplayground/?code=4/-UYL6NIP2avszVz3hTNIs6Z8vmOe