Internet Direct (Indy) Version 9.0.2 Beta
TIdMailBox.FirstUnseenMsg
Initial message number containing an "Unseen" flag.

property FirstUnseenMsg: LongInt;
Description
FirstUnseenMsg is a LongInt property that indicates the initial message in MessageList that contains the IMAP4 UNSEEN message flag in the Flags property. FirstUnseenMsg is determined when the results from TIdIMAP4.SelectMailBox are parsed, and can be used by the IMAP4 client to determine which message should be active when the mailbox is loaded.