I have a Flow that is converting HTML to PDF. I have the flow saving the PDF to SharePoint and also emailing it out to the user.
The PDF in SharePoint opens perfectly, the PDF that is sent in the email can't be opened, I gives me this error:

Comparing the 2 files (email copy and SharePoint copy) the file sizes are different too.
These are the convert actions I'm using for the email copy:

And for the SharePoint copy:
