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

    Interface MailboxAddress

    A parsed, normalized mailbox address.

    Instances are plain immutable data: every field is readonly, nothing is lazily computed or retained from the input, and a value can be stored, compared, shared across tasks, or serialized without aliasing anything the parser still holds.

    interface MailboxAddress {
        displayName?: string;
        domain: string;
        localPart: string;
    }
    Index
    displayName?: string

    The display name, with RFC 2047 encoded-words decoded, when the address carried one and it is not empty.

    It never contains a control character or a Unicode line separator.

    domain: string

    The domain, in lowercase ASCII form, or the domain literal including its brackets. Internationalized domains are converted to their Punycode (A-label) form.

    localPart: string

    The local part, without quoting or comments.

    Quoting is presentation: "john.doe"@example.com and john.doe@example.com denote the same mailbox (RFC 5321 section 4.1.2), so the delimiters are removed here and re-added only when the value cannot be expressed as a dot-string.