namespace AIStudio.Tools.Mail;
///
/// How a folder stands on the server when the sync opens it.
///
/// The UIDVALIDITY. When it differs from the stored one, every stored UID of the folder is void.
/// The UID the next mail will get, or null when the server does not say.
/// The HIGHESTMODSEQ, or null without CONDSTORE.
/// How many mails the folder holds (STATUS MESSAGES).
/// How many of them are unread (STATUS UNSEEN).
public sealed record MailFolderState(long UidValidity, long? UidNext, long? HighestModSeq, long MessageCount, long UnseenCount);