Added support to a custom email template file