@mcp-z/email
    Preparing search index...

    Function extractCurrentMessageFromHtml

    • Extract current message from HTML, removing thread history. Unlike extractCurrentMessageFromHtmlToText, this preserves HTML structure. Uses semantic HTML patterns rather than text-based regex matching.

      Parameters

      • html: string | null | undefined

        Raw HTML email content

      Returns string

      HTML string with quoted content removed