/Email-Attachment-Remover

IMAP script to remove all attachments bigger than a given size for an email account

Primary LanguagePython

Links Email Parsing

Usage

  • Use Python 3
  • Adjust config.ini sample, rename to config.ini and copy into env folder
    • Set IMAP mailbox login configuration
    • Decide to run single folder or all folders
    • Activate test mode with enhanced logging if needed
  • Run email_attachment_remover.py

Hint

Run it on a fast internet connection as it has to download all mails and attachments and partly upload it again