hunk.code_window: @Injectable()
   export class InboundEmailParse {
     constructor(private jobRepository: JobRepository, private messageRepository: MessageRepository) {}
     async execute(command: InboundEmailParseCommand) {
       const { toDomain, toTransactionId, toEnvironmentId } = this.splitTo(command.to[0].address);
       Logger.debug('toDomain in InboundEmailParse is: ' + toDomain);
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:   constructor(
       private jobRepository: JobRepository,
       private messageRepository: MessageRepository,
       private compileTemplate: CompileTemplate
     ) {}
  
hunk.file_path: apps/api/src/app/inbound-parse/usecases/inbound-email-parse/inbound-email-parse.usecase.ts
hunk.type: replace
file: import { Injectable } from '@nestjs/common';
  import { NotificationRepository } from '@novu/dal';
  import { subDays } from 'date-fns';
  import { ActivityGraphStatesResponse } from '../../dtos/activity-graph-states-response.dto';
  import { GetActivityGraphStatsCommand } from './get-activity-graph-states.command';
  
  @Injectable()
  export class GetActivityGraphStats {
    constructor(private notificationRepository: NotificationRepository) {}
  
    async execute(command: GetActivityGraphStatsCommand): Promise<ActivityGraphStatesResponse[]> {
      return await this.notificationRepository.getActivityGraphStats(
        subDays(new Date(), command.days),
        command.environmentId
      );
    }
  }
  