I’m looking for a way to automate converting emails that meet certain conditions into PDF files. The use case that is top of mind is email receipts for purchases, but it could be expanded to other use cases in the future.
I’m currently using Fastmail server-side rules to identify receipts for online orders and move them into a folder called “Receipts” . I could leverage this automation to make a new automation the looks for new emails in “receipts” mailbox and exports the message to a PDF. I can then have Hazel handle the rest.
I do have my Fastmail account configured in Apple Mail, which adds another way to access the messages outside of the Web interface or MAPI endpoints.
What would be a good tool to use for this automation? Automator? I also have Keyboard Maestro along with some Apple Script and lots of Python programming experience.
Note that this is only worthwhile if I can fully automate it in a “set and forget” way.