Skip to main content

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!

Metadata

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)

Source distribution for proton-mail-trash 1.2.1
File Size Uploaded Provenance Actions
proton_mail_trash-1.2.1.tar.gz 6.1 kB Without provenance Details for proton_mail_trash-1.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for proton-mail-trash 1.2.1
File Interpreter ABI Platform Actions
proton_mail_trash-1.2.1-py3-none-any.whl Python 3 none any Details for proton_mail_trash-1.2.1-py3-none-any.whl

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

Security for proton-mail-trash 1.2.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page