Migrate to manage email template