On Thu, Jun 14 2012, Michael Welsh Duggan wrote: > Honestly, I'd just do a limited search. You're already doing an > EXAMINE, so you just need to parse the results to get the EXISTS count. > Then a "UID SEARCH N:* HEADER Message-ID ..." where N is the exist > count minus a small constant. > > If the limited search fails, just re-call the function with recent set > to nil. Another try.