> I am working on an IDLEPLUS extension. The main purpose of this > extension is > to go beyond RFC2177 and provide a fully working push email solution > without > the need for expensive polling. Message sequence numbers are meaningless -- and probably can't be determined -- in non-SELECTed mailboxes. You'd be better off using UIDs qualified by UIDVALIDITY.