1

I have done this demo, However I am not sure how I would go about listing the actual messages in my inbox. I have looked here, but I am not sure how to incorperate that into node?

Thanks in advance! sorry if this is blatantly obvios.

best,
-Zoe

2
  • your question is unclearly to me. What is your requirement? Commented Nov 9, 2016 at 8:30
  • I am wondering how to list the context of my inbox similar to the actual gmail website. I am hoping to eventual be able to make a task managing app that shows me the top 10 emails I have. Thanks! Commented Nov 10, 2016 at 3:29

1 Answer 1

2

follow the below steps:

  1. make your node.js client.
  2. enable the push notification(that notify you when new email arrived).
  3. HistoryId contains in The notification you received.
  4. Get your mailbox update according history ID.
  5. Receive history list contain message Id , use that message Id and get the email.
Sign up to request clarification or add additional context in comments.

2 Comments

Thank you so much!
Thank you so much, however when I run the Publisher Guide demo I get this error: node index.js /home/zoe/Developer/gmailShell/index.js:132 pubsubClient.createTopic(topicName, (err, topic) => { ^ SyntaxError: Unexpected token > at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:906:3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.