I’m currently trying to create an automated email backup workflow with Keyboard Maestro and/or Apple Script. I want to save all emails in a specific folder within Apple Mail to be printed as PDF files. I was able to create a Keyboard Maestro macro, which does this for the currently selected email. However, I would like to do this for ALL emails in this folder.
I found a looping solution, which uses Apple Script here (see the answer there). I’m however not sure, how to combine Apple Script and Keyboard Maestro to a) loop through the folder with such Apple Script and b) run a Keyboard Maestro macro on every item (email message) found by this loop. Or is there an even simple solution just using Apple Script or Keyboard Maestro?
(I hope, it became clear what I’m trying to achieve (English is not my native language). If not, please let me know.)