in reply to Gmail message count reset

But I'd like to know if there's some way to avoid clearing the message count, so I could download messages again if needed. $pop->reset() doesn't make a difference...

POP3 servers do not keep information regarding read/unread status.