Creating Plot Twists
    Preparing search index...

    Type Alias ImapMessage

    A fetched message. Fields are populated based on ImapFetchOptions.

    type ImapMessage = {
        uid: number;
        flags: string[];
        date?: Date;
        subject?: string;
        from?: ImapAddress[];
        to?: ImapAddress[];
        cc?: ImapAddress[];
        messageId?: string;
        inReplyTo?: string;
        references?: string[];
        bodyText?: string;
        bodyHtml?: string;
        size?: number;
    }
    Index

    Properties

    uid: number

    Message UID (stable across sessions if uidValidity hasn't changed)

    flags: string[]

    Message flags (e.g. ["\Seen", "\Flagged"])

    date?: Date

    Internal date of the message

    subject?: string

    Subject header

    from?: ImapAddress[]

    From addresses

    To addresses

    CC addresses

    messageId?: string

    Message-ID header

    inReplyTo?: string

    In-Reply-To header (for threading)

    references?: string[]

    References header (for threading)

    bodyText?: string

    Plain text body (when requested)

    bodyHtml?: string

    HTML body (when requested)

    size?: number

    Message size in bytes