Fixing Import custom email template functionality