proton-mail-trash
proton-mail-trash will permanently delete all messages in your Proton Mail trash that are older than 30 days. Note that this is not the same as deleting messages that have been in the trash for more than 30 days.
Works on Linux and Windows!
Installation
Requires Python 3.13+
Requires git to be installed
# Using uv:
uv tool install proton-mail-trash
# Using pipx:
pipx install proton-mail-trash
# Using pip:
pip install proton-mail-trash
Usage
proton-mail-trash
Disclaimer
Use this software only at your own risk, and review the code if you want to.
This software uses Hydroxide's IMAP support, which is experimental.
This software permanently deletes messages from your Proton Mail account.
This software might not be an allowed use of Proton's products.
Credits
Only possible thanks to Hydroxide, a third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge!
Release files for proton-mail-trash 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| proton_mail_trash-1.2.1.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| proton_mail_trash-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.4 kB
Release files / proton_mail_trash-1.2.1.tar.gz
| Download URL | proton_mail_trash-1.2.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ce6fcb171a0f5a9ab33615a7916eebfbef63d9ebd187ffc34a5ead7fab5b6f7
|
|
BLAKE2b-256 checksum How to use checksums |
95e3b8a3187609647f1bc06225fa9e69cb13818a014c93dbc7c29308a26abd6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.8
|
Release files / proton_mail_trash-1.2.1-py3-none-any.whl
| Download URL | proton_mail_trash-1.2.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed8bbc8120b4e2fb86a711e9e9eb8189431415a8f104e7cebed70c5a8f01dacc
|
|
BLAKE2b-256 checksum How to use checksums |
73c6c34ec048a2fdca8c0cd2a04dfe5d3b40f8aea8c3b6d7259b5d66e0ad2abc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.8
|