hunk.code_window:     });
       const isEditorMode = !emailChannel.template.contentType || emailChannel.template.contentType === 'editor';
       const content: string | IEmailBlock[] = this.getContent(isEditorMode, emailChannel, command, subscriber);
       const message: MessageEntity = await this.messageRepository.create({
         _notificationId: command.notificationId,
         _environmentId: command.environmentId,
         _organizationId: command.organizationId,
         _subscriberId: command.subscriberId,
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit:     const integration = await this.integrationRepository.findOne({
         _environmentId: command.environmentId,
         channel: ChannelTypeEnum.EMAIL,
         active: true,
       });
  
hunk.file_path: apps/api/src/app/events/usecases/send-message/send-message-email.usecase.ts
hunk.type: add
file: import { IsDefined, IsEmail, IsNotEmpty, IsOptional, MinLength } from 'class-validator';
  
  export class UserRegistrationBodyDto {
    @IsDefined()
    @IsEmail()
    email: string;
  
    @IsDefined()
    @MinLength(8)
    password: string;
  
    @IsDefined()
    firstName: string;
  
    @IsDefined()
    lastName: string;
  
    @IsOptional()
    organizationName: string;
  }
  