Correct the template content for the automated emails