mail templates refactor