Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 683 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 683 Bytes

Inboxbot

Manage your inbox with YAML-defined rules, for example:

rules:

  - search:
      folder: "INBOX"
      from: "[email protected]"
      older_than_days: 3
      subject: "[updown alert]"
    action: "delete"

See rules.yml.example for more examples.

Install

You'll need to run in a virtualenv:

virtualenv -p $(which python3) venv
. venv/bin/activate

pip install -r requirements.txt

Configure

Copy and edit rules.yml.example and credentials.yml.example

cp credentials.yml.example credentials.yml
cp rules.yml.example rules.yml

Run

./run.py