This docker container lets you download email attachments on a schedule.
This project ist based on the following packages:
docker run -it -e EMAIL_CONNECTION=$EMAIL_CONNECTION -v /path/on/host:/app/downloads z3rone/email-attachment-downloader:0.5
This command downloads the e-mail attachments from the account defined by $EMAIL_CONNECTION
do the directory /path/on/host
.
EMAIL_CONNECTION
- Defines the IMAP connection and login. For syntax see https://github.com/eHealthAfrica/download-email-attachmentsCRON_SCHEDULE
- Defines the cron scheduling. Example:*/5 * * * *
for every 5mins.TIME_ZONE
- Defines the time zone for the cron package.FILENAME_PATTERN
- Defines the file name pattern of the downloaded attachments. For syntax see https://github.com/eHealthAfrica/download-email-attachments