support local email templates for i18n refs #18