News for hackers. Stuff that matters.
Re:Ten Commandments of How to Write an IMAP Client (2006) by skshetry on Monday October 28, 2019 @06:53AM (#21375818)
How about adding a flag to the emails that are processed? It's fairly well supported.

I needed this when i was working on my engineering project, and added 'processed' flags for already processed items. This way i could query all unprocessed items with "UNSEEN UNKEYWORD <flag>".

Re:Ten Commandments of How to Write an IMAP Client (2006) by dqv on Monday October 28, 2019 @07:11AM (#21375894)
Nice! I'll take a look. Thanks for the advice.
Re:Ten Commandments of How to Write an IMAP Client (2006) by ts4z on Monday October 28, 2019 @11:05AM (#21377601)
This is a good plan, probably a notch better than using UIDs. You can use UIDs as a cursor to the server as a hint to speed up the operation if that’s what you meant in the other thread, and that’s a great thing to do.