this is my first post so please be patient with me. I wanted to share a few scripts that I found quite useful for automating my email inbox. You can find them here: https://github.com/ckepper/applescript
They are heavily inspired by David Sparks’ “Email” book: Every month, I receive the same emails (invoices, balance sheets, reports etc.). Most of those mails contain attachments that need to be filed. I use the scripts in Mail rules to automatically save attachments or convert entire mails to PDF files. In the next step, I use Hazel to move the files to where I want to keep them.
It took me quite some time to finish those scripts. Maybe you find them useful as well.