Command line utility to clean IMAP folders
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mailbox_cleaner-0.1.0.tar.gz.
File metadata
- Download URL: mailbox_cleaner-0.1.0.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40dba8294d10c824b41545afba38b603705e6b48998fb00f585d27d4000444ff
|
|
| MD5 |
1a23f1966d8b6daba68ed6a48fe39c1a
|
|
| BLAKE2b-256 |
50cac9e994e2424f778d1021e97c8a2e86df89a625d3008f0b0bb14c80084148
|
File details
Details for the file mailbox_cleaner-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mailbox_cleaner-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af442c8e8855c97cea787f3395916bb7f7b5bf3dd954f1a04569bb8b1e22ecf1
|
|
| MD5 |
d9709141c771809df471afe909e4de82
|
|
| BLAKE2b-256 |
1980882fee227472532f9d3beface9ad3b01bb6ba30729bf2dbc61fabd7433c7
|