hunk.code_window: import { IEmailBlock, OrganizationRepository, OrganizationEntity } from '@novu/dal';
   import { CompileTemplate } from '../compile-template/compile-template.usecase';
   import { CompileTemplateCommand } from '../compile-template/compile-template.command';
   import { PreviewEmailCommand } from './preview-email.command';
   @Injectable()
   export class PreviewEmail {
     constructor(private compileTemplate: CompileTemplate, private organizationRepository: OrganizationRepository) {}
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit: import { ApiException } from '../../../shared/exceptions/api.exception';
  
hunk.file_path: apps/api/src/app/content-templates/usecases/parse-preview/preview-email.usecase.ts
hunk.type: add
file: import { EnvironmentWithUserCommand } from '../../../shared/commands/project.command';
  
  export class GetEnvironmentCommand extends EnvironmentWithUserCommand {}
  