Skip to content

AustralianAntarcticDataCentre/save_emails_to_files

Repository files navigation

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

About

Save content from emails into files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published