Create PDF from email body

I have a newsletter email that has text and images. I was planning to use SMTP to receive this email and then convert it into a PDF file that is output to a folder. How can I accomplish this?

I have tried to receive the email with the SMTP Input action and send to a folder (with %f as the filename) and that creates a .dat file. I then thought there would be images and HTML I could map in designer, but there is just a single dat file and when I add that in designer it just references other dat files that do not exist. Like this:

FYI %f will always output Connects temporary file, which is a .dat file. Try %o (original filename [with extension]).