Skip to content

Latest commit

 

History

History
53 lines (28 loc) · 1.89 KB

README.md

File metadata and controls

53 lines (28 loc) · 1.89 KB

Download emails

Save emails from an IMAP server into local files.

Requirements

PyYAML to load settings from a Yaml file.

The settings_example.py and settings_example.yaml need to be copied and have the _example part removed. These new files should be modified to contain local settings.

Usage

Once that configuration is complete, you can run the main script:

python download_emails.py

Automation

Cron job

crontab -e

* 6 * * * source /path/to/repo/deployment/deploy.sh >> /var/log/cron.log 2>&1

Helpful articles and documentation