mailbox-cleaner
a simple CLI tool to clean IMAP folders
Installation
To install with pip:
$ pip install -U mailbox-cleaner
After installation the command mailbox-cleaner should be available.
You can also just download the mailbox_cleaner.py file and execute it directly.
Usage
To delete emails older than 15 days in the INBOX folder:
mailbox-cleaner imap.example.com me@example.com myPassword -d 15
To delete emails older than 30 days in the Trash folder using a STARTTLS connection to a host with non-standard port:
mailbox-cleaner imap.example.com:9999 me@example.com myPassword -c STARTTLS -f Trash -d 30
To see all available options and more information use:
mailbox-cleaner --help
License
Licensed GPLv3+, see the LICENSE file for details.
Copyright © 2022 Asiel Díaz Benítez.
Metadata
Release files for mailbox-cleaner 0.1.0
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 |
|---|---|---|---|---|
| mailbox_cleaner-0.1.0.tar.gz | 17.6 kB | Without provenance | Details for mailbox_cleaner-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mailbox_cleaner-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for mailbox_cleaner-0.1.0-py3-none-any.whl |
Total release size: 33.4 kB
Release files / mailbox_cleaner-0.1.0.tar.gz
| Download URL | mailbox_cleaner-0.1.0.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40dba8294d10c824b41545afba38b603705e6b48998fb00f585d27d4000444ff
|
|
BLAKE2b-256 checksum How to use checksums |
50cac9e994e2424f778d1021e97c8a2e86df89a625d3008f0b0bb14c80084148
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / mailbox_cleaner-0.1.0-py3-none-any.whl
| Download URL | mailbox_cleaner-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af442c8e8855c97cea787f3395916bb7f7b5bf3dd954f1a04569bb8b1e22ecf1
|
|
BLAKE2b-256 checksum How to use checksums |
1980882fee227472532f9d3beface9ad3b01bb6ba30729bf2dbc61fabd7433c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Security for mailbox-cleaner 0.1.0
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.