I want to write a program which would show a pop up if a new mail arrives through Gmail.
What library/api am I supposed to use get notifications from Gmail programmatically?
I want to write a program which would show a pop up if a new mail arrives through Gmail.
What library/api am I supposed to use get notifications from Gmail programmatically?
Most likely Google exposes some REST API. If not, you'll need an IMAP/POP3 client library to connect to Gmail servers directly (provided that the mailbox you want to connect to has IMAP/POP3 activated in its settings).
Edit: https://developers.google.com/gmail/api/
libkgapi might help http://www.dvratil.cz/2012/05/libkgoogle-libkgapi/
Cheers,
_
Bookmarks