/** * Gmail body format helpers. * * sanitizeEmailHtml — strips dangerous HTML from email bodies while preserving * visual structure (layout, inline styles, tables, images) needed for correct * rendering. Used for --format=sane-html. */ /** * Sanitize an HTML email body for safe rendering/storage. * * What is stripped: * -