Tool to optimize .eml files size by converting found images (from attachements) to jpeg and reducing their quality (works also on attached .zip and .pdf)
to use : .\compress-eml-file [path containing eml files], this will create output/ folder
Warning : Be careful with result of .pdf and .zip contents
Using :
- MimeKit to manipulate eml files
- QPdfNet to optimize pdf sizes
- SharpZipLib to manipulate zip files
- SkiaSharp to convert / reduce quality of images (except for .pdf, its managed by QPdfNet)