hunk.code_window: import { SubscribersService } from '@novu/testing/src';
   import axios from 'axios';
   import * as sinon from 'sinon';
   const USER_MAIL_DOMAIN = 'mail.domain.com';
  
hunk.labels: keep keep add keep keep
hunk.after_edit: import { CompileTemplate } from '@novu/application-generic';
  
hunk.file_path: apps/api/src/app/inbound-parse/e2e/inbound-email-parse.e2e.ts
hunk.type: add
file: import { Injectable } from '@nestjs/common';
  import { OrganizationRepository } from '@novu/dal';
  import { UpdateBrandingDetailsCommand } from './update-branding-details.command';
  
  @Injectable()
  export class UpdateBrandingDetails {
    constructor(private organizationRepository: OrganizationRepository) {}
  
    async execute(command: UpdateBrandingDetailsCommand) {
      const payload = {
        color: command.color,
        logo: command.logo,
        fontColor: command.fontColor,
        contentBackground: command.contentBackground,
        fontFamily: command.fontFamily,
      };
  
      await this.organizationRepository.updateBrandingDetails(command.id, payload);
  
      return payload;
    }
  }
  