Skip to content

Instantly share code, notes, and snippets.

View io41's full-sized avatar

Tim Kersten io41

View GitHub Profile
@io41
io41 / eml2pdf.py
Created March 18, 2025 05:01 β€” forked from WMAL/eml2pdf.py
Converts .eml files to HTML, Markdown, PDF, plain text, and JSON formats. Handles attachments, counts replies, cleans up HTML, and manages duplicates. Outputs all processed emails into a single indexed HTML file, convertible to other formats.
# =========================================
# Email to PDF Conversion Script
# =========================================
#
# Version: 1.0
# Script written by Warith Al Maawali
# (c) 2024
#
# Discord channel: https://discord.gg/KEFErEx
# Twitter: http://twitter.com/warith2020