{"categories":[{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"},{"label":"Filters","url":"https://skillfed.io/packages/category/text-processing-filters"},{"label":"Filters","url":"https://skillfed.io/packages/category/communications-email-filters"}],"enrichment":{"capability":"Extracts encapsulated HTML and plain text content from RTF bodies in .msg email files, reversing the RTF encapsulation that Microsoft Exchange applies.","skillfed_tags":["email-processing","rtf-parsing","msg-extraction"],"use_cases":["Parse .msg email files and recover the original HTML body content instead of the RTF wrapper.","Batch-process Exchange-exported emails to extract and re-render body content as clean HTML or text.","Build email archival or migration tools that need to normalize RTF-wrapped content from older Outlook exports.","Integrate with oletools-based email forensics workflows to de-encapsulate message bodies.","Convert RTF-encapsulated plain text from .msg files back to readable text for indexing or search."],"what_it_does":"RTFDE is a Python library that reverses Microsoft Exchange's RTF encapsulation of email body content. When Outlook or Exchange stores HTML or plain text email bodies, they wrap them in RTF format; this library extracts the original HTML or text from that wrapper. It depends on lark (for parsing) and oletools (for RTF/OLE handling) and is designed specifically for .msg file processing.\n\nThe library handles two main tasks: extracting HTML from RTF-encapsulated HTML, and extracting plain text from RTF-encapsulated text. It fully unquotes the extracted content, which means escaped sequences (like Quoted-Printable encoding) are decoded. Known limitations include inability to integrate attachments back into HTML bodies and no support for extracting plain text from RTF-encapsulated HTML (you would use another HTML parser for that).","worth_installing":"Yes, if you need to extract HTML or text from RTF-encapsulated .msg email bodies. The library is narrow in scope, low friction to install, and has no known vulnerabilities. The aging maintenance status and small community (8 stars) mean it is unlikely to gain new features, but the core task is stable and unlikely to require frequent updates. Suitable for production use in email processing pipelines where RTF de-encapsulation is a known requirement."},"id":"rtfde","links":{"html":"https://skillfed.io/packages/rtfde","md":"https://skillfed.io/packages/rtfde.md","pypi":"https://pypi.org/project/rtfde/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-12-09","license_spdx":null,"license_treatment":"copyleft","name":"RTFDE","python_support":"supports_current","summary":"A library for extracting HTML content from RTF encapsulated HTML as commonly found in the exchange MSG email format."},"popularity":{"monthly_downloads":6577070,"position":1886,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.2.2"}
