email template preview created
minor bugs fixed