Nodejs - how to get email from gmail

I developed a web application in node.js and now I want to receive emails from gmail and store in my application database. I read / checked mail-listener2 , but it gave me some error about authentication. I raised a question for this, but I'm still looking for such a trusted library. Has anyone worked with this library or any other solution for this? In short, I am looking for a code / sample / library that is an email (including an attachment and a header description (I need a uniqueid / threadid email so that I can make a decision to sell tickets) from my G Mail account. Thanks

+5
source share
1 answer

You can use the Gmail API, check out the quick start guide to behave in your preferred language: https://developers.google.com/gmail/api/guides/

0
source

All Articles