methodtMaildir.GenerationSlot
function GenerationSlot(const aAddress, aFolder: string): Integer;
GENERATION, SCOPED TO ONE MAILBOX. GenerationSlot resolves aFolder of aAddress once (-1: not resolvable); MailboxGeneration moves whenever Generation does for that mailbox - and, because slots are shared by hash, sometimes for another one, which costs a needless rescan and nothing else. An IDLE session watches its own mailbox with it, so steady delivery to other accounts does not rescan every session.