bodystructure.py - convert bodystructure results to list part numbers/message part info detach.py - command-line utility to save off attachments and to debug IMAP issues mail.py - command-line utility & base classes for IMAP, includes interactive mode and will include state-aware help features for learning IMAP and observing the output. Useful for testing & debugging IMAP. parse_fetch.py - functions for parsing FETCH command results, some are custom and other consolidate different built-in parsing tools that are scattered around in different modules