Proton mail export organizer
This is a tool to sort emails from a proton-mail-export directory into folders.
I used it to import my proton-mail-export into thunderbird using ImportExportTools NG.
Quick usage
The program only takes a single parameter: the export directory, so:
- First run proton-mail-export-cli to download your emails.
- It should create a directory like
username@protonmail.com/mail_YYYYMMDD_HHMMSS/. pip install proton-mail-export-organizerproton-mail-export-organizer username@protonmail.com/mail_YYYYMMDD_HHMMSS(Replace the username and date to match your export).
You're done, your emails has been ordered in a hierarchy that should match the one you had in Protonmail.
I'm not happy with the result
It works for me.
But I bet we're not all using emails the same way. Feel free to doodle around with the code.
You can run it multiple times to see the effect of your changes in the hierarchy.
The only thing that may be surprising is that I do not delete empty directories if all emails are moved out of them.
If you're happy with your changes, don't hesitate to open a PR.
Metadata
Release files for proton-mail-export-organizer 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| proton_mail_export_organizer-0.4.tar.gz | 3.0 kB | Without provenance | Details for proton_mail_export_organizer-0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| proton_mail_export_organizer-0.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for proton_mail_export_organizer-0.4-py2.py3-none-any.whl |
Total release size: 7.0 kB
Release files / proton_mail_export_organizer-0.4.tar.gz
| Download URL | proton_mail_export_organizer-0.4.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
080361c1010fcf81c952c69696b106d7a948116cc42eef452a09547261637a2f
|
|
BLAKE2b-256 checksum How to use checksums |
c423ec114eba97502c11f0acd2fb9faa156db2847bee21bac17eea745fb54a22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.9
|
Release files / proton_mail_export_organizer-0.4-py2.py3-none-any.whl
| Download URL | proton_mail_export_organizer-0.4-py2.py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
18b5defa1472bd193eebd9f54535243b2ff047de94e8675e21c482216f8355d6
|
|
BLAKE2b-256 checksum How to use checksums |
e766931f4dd8fee6c252901d46c5394a35a18747896bb2362e4d751a05c8c07d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.9
|
Security for proton-mail-export-organizer 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.