- Minor syntax changes (ability to fetch email UIDs)
- Dropped support for Python2
- Updated email information retrieval syntax
- Added type hints
- Added more tests
- Added authentication support
- Added support to only retrieve a list of UIDs
- Parsing bugfixes
- Reorganize tests and use tox + Travis for CI
- Add context manager to IMAP class because gremlins had stolen it from previous release
- Add a context manager to IMAP class.
- Add port argument to IMAP.connect (in cases when non-default port is used)
- Add support for attachments
- Search for folders using simple regular expressions:
box.folders('*nbo*')
will match 'Inbox' folder - Shorter syntax for folder creation: use
make()
instead ofmake_folder()
- Couldn't parse email attributes (flags, uid) sent by a server which were coming after email contents.
- Incorrect email header parsing under Python 3 and in situations when some 'obvious' headers ('Subject', 'To') were not present in email.
- Email headers access is case insensitive
- Text and HTML contents/attachments are now accessed via
email['text']
andemail['html']
. Before:email['attachments']['text']
andemail['attachments']['html']
- Raised error when trying to delete currently selected folder
- Initial release