# libmail **Repository Path**: rapidcow/libmail ## Basic Information - **Project Name**: libmail - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-11-21 - **Last Updated**: 2026-11-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README @===============@==========================================@ # NOTICE !!! | | *===============+ | | | | Date: Thu, 18 Jul 2024 15:28:20 +0800 | | From: Ethan Meng | | MIME-Version: 1.0 | | Content-Type: text/plain; charset="US-ASCII" | | Content-Transfer-Encoding: 7bit | | Subject: [NOTICE] New docs!!! | | | | Heyo!!! Just to let you all know that documentations | | are (provisionally) available at | | | | !!!! | | | | .. "provisional" refers to the hosting server, but | | do expect it to be a permanent URI, or at least | | a redirection to something that is not 404 :] | | | | To be honest I am now quite fond of this project, | | having just learned that https://useplaintext.email | | exists. I am glad that my frustration with "modern" | | e-mails isn't alone in that respect. | | | | I might use www.yizx.net to actually put up updates | | like this, but for now..... eh. whatever :) | | | | - Ethan <3 | | | v==========================================================v rdks.mail - e-mail utilities ---------------------------- at the moment it contains two modules, some small utilities, one BIG CLI program, and two packages that parse very specific parts of an e-mail!!! modules: * outlook: deals with the (annoying) Thread-Index header. * content: deals with MIME content transfer encodings including... - VERY flexible quoted-printable encoding!!! - VERY strict decoder (probably even a bit too strict)!!! * headers: deals with RFC 822/2822/5322 message format including: - FULL PARSE TREE REPRESENTATION!!! - very minimal yet strict parser of Message IDs * contrib: my reaction to https://github.com/python/cpython/issues/121515 this includes... - convenient drop-in substitutes (at least i tried to :/) - has patches i personally see fit - MAY BE BUGGY. MAY BE VERY UNFORGIVING. - not tested enough (tho good enough for me!) utilities: * parse-thread-index: CLI for the outlook module. run with: `python -m rdks.mail.utils.parse_thread_index` or simply `parse-thread-index` or navigate to the utils/ directory and run `./parse_thread_index.py` * mail-tree: cheap thing that replicates Mutt's view-attachment output (i'm surprised there isn't an easy cli that does this =.=) depends on humanize (install with pip install humanize~=4.9 or pip install "[tree]" ) optionally wcswidth (install with pip install wcswidth or pip install wcswidth) program! * compose.py: composes RFC 5322 e-mails with MIME version 1.0 depends on rdks-list (install with pip install "[compose]" ) installation is a bit harder due to compose.py depending on rdks.list, but this should work: git clone https://git.rapidcow.org/rdks-mail.git # depending on where your python/pip3 command lives # you MAY have to change pip into pip3, python -m pip, etc... pip install -r requirements.txt pip install -e ./rdks-mail (of course you could clone rdks-list too and... but i think you already know how to do that) remote version: pip install git+https://git.rapidcow.org/rdks-mail.git@main