Manage your inbox with YAML-defined rules, for example:
rules:
- search:
folder: "INBOX"
from: "alert@updown.io"
older_than_days: 3
subject: "[updown alert]"
action: "delete"
See rules.yml.example
for more examples.
You'll need to run in a virtualenv:
virtualenv -p $(which python3) venv
. venv/bin/activate
pip install -r requirements.txt
Copy and edit rules.yml.example
and credentials.yml.example
cp credentials.yml.example credentials.yml
cp rules.yml.example rules.yml
./run.py