True," recently I've been looking for a way to easily save emails as PDF on my Mac. Now, you may know that hitting Command + P can open up an email, and hitting the down arrow, you can save it as a PDF. I have added a keyboard shortcut for that, and I've created a separate blog post and video on it, which I will include in the notes here. But, I have managed to simplify it down to two steps. So, I hit Command + P twice, then Command + P once, and then Command + P again, and now I have a PDF that I can save. But, that's not good enough. I wanted to rename the file with the actual date of the email, not the date I'm running the script. I also wanted to include the names of the recipient and the sender without manually typing them in. Additionally, I wanted to include the subject line. To make things even more complicated, I wanted to tag the email so that Hazel, an automation tool, can automatically file it as an email. So, how do I accomplish all of this with AppleScript? Here is the Keyboard Maestro script I have generated to solve this problem. The first thing it does is run an AppleScript, which you can download along with the script for this video. The AppleScript clears out some variables, then goes to the Apple Mail application and pulls out variables such as the date of the email, the sender, the recipient, and the subject. It saves all those four things as variables. Next, a bunch of AppleScript is used to turn the date into an ISO-standard date format, displaying it as year-month-day. After that, it sets a new name for the file. The new name variable consists of...