refactoring email subject to use ftl template