Creating Plot Twists
    Preparing search index...

    Type Alias ImapSearchCriteria

    Criteria for searching messages. All fields are optional; they are ANDed together.

    type ImapSearchCriteria = {
        since?: Date | string;
        before?: Date | string;
        from?: string;
        to?: string;
        subject?: string;
        unseen?: boolean;
        flagged?: boolean;
        uid?: number[];
    }
    Index

    Properties

    since?: Date | string

    Messages with internal date on or after this date

    before?: Date | string

    Messages with internal date before this date

    from?: string

    Messages with From header containing this string

    to?: string

    Messages with To header containing this string

    subject?: string

    Messages with Subject containing this string

    unseen?: boolean

    If true, only unseen messages; if false, only seen messages

    flagged?: boolean

    If true, only flagged messages; if false, only unflagged messages

    uid?: number[]

    Specific UIDs to match