Format email templates into text format