6f49481095
- Removed buffer to string conversion on message and we instead pass the direct Buffer - Removed redundant flattening of results - Cached `JSDOM` and `DOMPurify` Instance - MailParser added `skipTextToHtml` along with some other options, which reduced parsing time from 50ms to 35ms --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com> Co-authored-by: Félix Malfait <felix@twenty.com>