imap-tools
Work with email by IMAP
Secure and idempotent Python tool for automated email processing: download attachments via IMAP, send files via SMTP with automatic tracking, organize files by subject rules, archive processed emails, and manage passwords via keyring.