Skip to content

Instantly share code, notes, and snippets.

View honel's full-sized avatar

honel

  • Berlin / Germany
View GitHub Profile
@honel
honel / maildump.py
Last active December 30, 2018 11:30 — forked from robulouski/gmail_imap_dump_eml.py
Very simple Python script to 1st dump all emails within an IMAP account to files, and extract header and attachments from the dumped email files.
#!/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: