Meteor with google mail api using accounts-google

Hi!

Is there an easy way of creating a website using meteor, accounts-google and gmail api: https://developers.google.com/gmail/api/quickstart/nodejs in order to read user email on meteor server after he/she logs in using accounts-google?

(I also created a topic on stackoverflow: http://stackoverflow.com/questions/41208412/meteor-with-google-mail-api-using-accounts-google)

Regards.

(sorry for necro bumping, but this question does show up in searches, so an answer will make it complete)

Read the Google docs on how to access Google APIs via oauth:

You’ll find the access token that you can use when calling Google APIs in Meteor.user().services.google.accessToken.

1 Like