This project provides tools to clone email from one IMAP server to another using Python. It includes a command-line script (imapclone.py) and an optional graphical user interface (imapclone-gui.py).
This library implements a simple "filesystem" inside an IMAP folder. The filesystem can be symmetrically encrypted (using the cryptography library's AES-128 Fernet construct), it supports concurrent ...
My journey started out reading the Python imaplib documentation for Python 2.7 and tinkering with the example near the end of the documentation. Unfortunately the example does not detail UID commands.
My open source Python project Imap2Eml, filters, converts IMAP emails in bulk to .eml format and saves them locally. Written out of personal necessity, and if you understand what it is for, it may ...