Simple tool for downloading email attachments for all emails in a given folder using an IMAP client.
Project description
Simple tool for downloading email attachments for all emails in a given folder using an IMAP client.
Install:
$ pip install attachment-downloader
Usage:
Usage: attachment-downloader [options] Options: -h, --help show this help message and exit --host=HOST IMAP Host --username=USERNAME IMAP Username --password=PASSWORD IMAP Password --imap-folder=IMAP_FOLDER IMAP Folder to extract attachments from --filename-template=FILENAME_TEMPLATE Attachment filename (jinja2) template. --output=DOWNLOAD_FOLDER Output directory for attachment download --delete Delete E-Mail from Mailbox if attachment was downloaded
Example:
$ attachment-downloader --host imap.example.com --username mail@example.com --password pa55word \\ --imap-folder invoices --output ~/Downloads
For full instructions and documentation visit: https://github.com/jamesridgway/attachment-downloader
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for attachment-downloader-1.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0cb8dc125101428b977b8ccadba5c957608fade2f0205899b9a27c7997b9216 |
|
MD5 | e5d87445b1b638fd9da92164cd015204 |
|
BLAKE2b-256 | 9828516f9ed89f9540484f075e2539b7071418203e651185b0b3033af98bebde |
Close
Hashes for attachment_downloader-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d743d09fea65f4058fe75b4482d1f940d97f4825314d8a6016edb65e34dda28c |
|
MD5 | 3fe56a1b75df498ee29e1f9dcf82f45b |
|
BLAKE2b-256 | b17e4fb80ae9248fa7d240f174617b5944c1407b3d064f8056c7a1fe5b70fe57 |