Introduce templates for emails instead of using strings and printf.