tags:

views:

276

answers:

2

Hello,

is there a simple customizable script that I can use to display the unread mail in a GMail account?

I don't know if I should use POP or IMAP to retrieve.

+1  A: 

As far as I know POP does not support marking emails are read. Email clients mark them after they download. All download mails are numbered to keep track. So you might need to check if there is a GMail API for that task.

Cem Kalyoncu
+2  A: 

Take a look at this article. It explains how to do it through the IMAP protocol.

rogeriopvl