Member Junction
    Preparing search index...

    Represents a folder/mailbox in the provider's system

    type MessageFolder = {
        ID: string;
        IsSystemFolder?: boolean;
        MessageCount?: number;
        Name: string;
        ParentFolderID?: string;
        SystemFolderType?:
            | "inbox"
            | "sent"
            | "drafts"
            | "trash"
            | "spam"
            | "archive"
            | "other";
        UnreadCount?: number;
    }
    Index

    Properties

    ID: string

    The unique ID of the folder

    IsSystemFolder?: boolean

    Whether this is a system folder (Inbox, Sent, Drafts, etc.)

    MessageCount?: number

    The number of messages in the folder (if available)

    Name: string

    The display name of the folder

    ParentFolderID?: string

    The ID of the parent folder, if any

    SystemFolderType?:
        | "inbox"
        | "sent"
        | "drafts"
        | "trash"
        | "spam"
        | "archive"
        | "other"

    The type of system folder if IsSystemFolder is true

    UnreadCount?: number

    The number of unread messages in the folder (if available)