Chrome extension - parsing Gmail
I am creating a Chrome browser extension. I want to be able to parse the content of a (currently viewed) email message in Gmail (and some other email clients like Hotmail, Yahoo, etc.). I looked at Stackoverflow and google developer guide but I couldn't find how it should be done.
If you could provide a little toy example of how to read email content (i.e. have a variable that contains email text \ HTML content) that would be great.
thank.
source to share
Have a look at Content Scripts ... Using the standard Document Object Model (DOM), they can read the details of web pages the browser is visiting
source to share
You should check the API here, https://github.com/joscha/gmailr , it should get started.
Edit: There's another recently released unofficial API (still being updated) at https://github.com/KartikTalwar/gmail.js
source to share