This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# maildump.py | |
# | |
# Very simple Python script to | |
# 1st dump all emails within an IMAP account to files, and | |
# 2nd extract header and attachments from the dumped email | |
# files. | |
# | |
# This code bases on: |