Export .eml file as PDF

Hi all,
I'm using Hazel to "rename/sort into subfolders" the RAW e-mail messages I want to keep. Once the message is in the correct folder, I copy the filename of the .eml file, I open the .eml file using the Mail app, I perform "File --> Export as PDF" where I use the same filename as the original .eml file. Hazel now picks up the .pdf file and sorts it into the same folder where the .eml file is located. Now I have the .eml and the .pdf file in the same location.
Please find below an example of the resulting filenames:
2016-09-10 - 18.59.14 - Aankopen - Computer - iTunes - Mail.eml
2016-09-10 - 18.59.14 - Aankopen - Computer - iTunes - Mail.pdf
Can someone help me how I can automate the export AS PDF part using Hazel?
Thanks in advance,
Bob.
I'm using Hazel to "rename/sort into subfolders" the RAW e-mail messages I want to keep. Once the message is in the correct folder, I copy the filename of the .eml file, I open the .eml file using the Mail app, I perform "File --> Export as PDF" where I use the same filename as the original .eml file. Hazel now picks up the .pdf file and sorts it into the same folder where the .eml file is located. Now I have the .eml and the .pdf file in the same location.
Please find below an example of the resulting filenames:
2016-09-10 - 18.59.14 - Aankopen - Computer - iTunes - Mail.eml
2016-09-10 - 18.59.14 - Aankopen - Computer - iTunes - Mail.pdf
Can someone help me how I can automate the export AS PDF part using Hazel?
Thanks in advance,
Bob.