问题
How in javascript would get the number of unread emails for the currently signed in gmail account?
Related question - does Google offer any documentation on this sort of stuff?
回答1:
Here's the docs's you are looking for:
http://code.google.com/apis/gmail/docs/
Note, that there's no way to 'steal' the unread count from someones account using somme simple javascript without authentication.
来源:https://stackoverflow.com/questions/3081421/javascript-to-check-gmail-unread-count