Overview of imap-tools capabilities
masterimap-tools is a high-level Python library for working with email via the IMAP protocol. It requires Python 3.8+ and has no external dependencies.
Key Features:
- Message Operations: Fetching messages, working with UIDs and sequence numbers, and accessing parsed email attributes.
- Query Building: A builder for constructing complex search criteria.
- Email Actions: Copy, delete, flag, move, and append messages.
- Folder Management: List, set, get, create, check existence, rename, subscribe, delete, and get status of folders.
- IDLE Support: Start, poll, stop, and wait for IDLE commands.
- Error Handling: Specific exceptions for failed IMAP operations.