IMPROVE use unittest.mock instead of real IMAP instance
CLEAN pep8 warnings
CLEAN style
CLEAN docstring
CLEAN useless source