> It works by fetching all headers from new messages from IMAP server an searching > for our X-OfflineIMAP marker by using reular expression. FYI, I found a bug in the code. […] > + start = 1+max(self.getmessagelist().keys()) That's broken if the folder is empty. I'll update the patch. -- Vlad