Hacker News new | ask | show | jobs
by skshetry 2432 days ago
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>".

1 comments

Nice! I'll take a look. Thanks for the advice.
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.