@mxraven/mail - v0.6.0
    Preparing search index...

    Interface ParsedEmail

    A parsed inbound email message.

    interface ParsedEmail {
        attachments: readonly ParsedAttachment[];
        bcc: readonly ParsedAddress[];
        cc: readonly ParsedAddress[];
        date?: Date;
        from: readonly ParsedAddress[];
        headers: readonly ParsedHeader[];
        html?: string;
        messageId?: string;
        replyTo: readonly ParsedAddress[];
        subject?: string;
        text?: string;
        to: readonly ParsedAddress[];
    }
    Index
    attachments: readonly ParsedAttachment[]

    Every non-body part, with transfer encoding and filename decoding applied.

    bcc: readonly ParsedAddress[]

    The Bcc addresses.

    cc: readonly ParsedAddress[]

    The Cc addresses.

    date?: Date

    The Date, when it was present and parseable.

    from: readonly ParsedAddress[]

    The From addresses.

    headers: readonly ParsedHeader[]

    Every header field, in order, with continuation lines unfolded. Values are not decoded; use subject or an address field for decoded text.

    html?: string

    The decoded text/html body, when the message has one.

    messageId?: string

    The Message-ID without angle brackets, when it was present.

    replyTo: readonly ParsedAddress[]

    The Reply-To addresses.

    subject?: string

    The decoded Subject, when the header was present.

    text?: string

    The decoded text/plain body, when the message has one.

    to: readonly ParsedAddress[]

    The To addresses.