Customize logo in email templates

Can you advise on this as “checked in a fix” doesnt really tell much, and trying to find information in GIT is hard. I really want to get this working as each time i update, or reinstall, something different breaks. now it is the PDF generator…