set mail header in template