Live data from Hacker News

Show HN: Gmail.js – JavaScript API for Gmail

github.com

61–63 of 63 posts

Re: Show HN: Gmail.js – JavaScript API for Gmail

#61
post #54

I'd love to use this but I can't figure out what's the action/event for when I open an email to read it. I'm sure it's there, I just can't see it ..

Hey zrgiu_, there isn't a native observer for that action yet but the closest call is to check if the user is inside an email. I've created a gh issue out of it so hopefully you'll be able to set triggers with the observer method, instead of setInterval
Post reply on HN