Migrate Email Templates to a row-based data model