Installing UE4 alone wouldn't change any code on your pages. So something else must have happened. We'll have to investigate more if you don't have any info.
The email templates are stored in UniversalEmail/Templates/ so you can probably open up UE on the pages that it isn't working on and re-assign the template locations if that is the problem.