Gets UID (Unique-ID) assigned to the message in the folder on the mail server.
A positive 32-bit numeric value indicating UID of the message, or -1 if this information is not available.
Unlike ordinal message numbers (MessageNumber property), UIDs persist between operations which re-order messages in a folder (such as deleting and expunging messages). Also, UIDs should persist between different IMAP sessions (some old IMAP4 implementations, however, may violate this rule, see UidValidity topic for details).
Envelope Class | MailBee.ImapMail Namespace