Creating Plot Twists
    Preparing search index...

    Type Alias ImapFetchOptions

    Options for fetchMessages().

    type ImapFetchOptions = {
        headers?: boolean;
        body?: boolean;
        bodyType?: "text" | "html" | "both";
    }
    Index

    Properties

    headers?: boolean

    Fetch envelope/headers. Default: true.

    body?: boolean

    Fetch body content. Default: false.

    bodyType?: "text" | "html" | "both"

    Which body parts to fetch when body is true. Default: "both".