namespace AIStudio.Tools.Mail;
///
/// A folder as the IMAP server lists it.
///
/// The full path as the server names it, including the server's own hierarchy delimiter.
/// The last part of the path, as shown in a folder tree.
/// The full name of the folder this one lies in, or empty at the top level.
/// The hierarchy delimiter of the server, or the null character when it has none.
/// What the folder is for, as the server announces it.
/// Whether this is the inbox, which IMAP names INBOX in any case.
/// Whether the folder can hold mails. A folder which cannot only groups other folders.
public sealed record MailServerFolder(string FullName, string Name, string ParentFullName, char DirectorySeparator, MailFolderSpecialUse SpecialUse, bool IsInbox, bool CanSelect);