unsubmail (pypi): Script to go through commercial mails in an IMAP mailbox and unsubscribe automatically wherever possible
Keywords: imap|spam