hunk.code_window:         let sendTo;
           switch (reminder.workflowStep.action) {
             case WorkflowActions.EMAIL_HOST:
               sendTo = reminder.booking.user?.email;
               break;
             case WorkflowActions.EMAIL_ATTENDEE:
               sendTo = reminder.booking.attendees[0].email;
               break;
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:             sendTo = reminder.booking?.userPrimaryEmail ?? reminder.booking.user?.email;
  
hunk.file_path: packages/features/ee/workflows/api/scheduleEmailReminders.ts
hunk.type: replace
file: import { _generateMetadata } from "app/_utils";
  import { WithLayout } from "app/layoutHOC";
  
  import { getLayout } from "@calcom/features/MainLayoutAppDir";
  
  import EnterprisePage from "@components/EnterprisePage";
  
  export const generateMetadata = async () =>
    await _generateMetadata(
      (t) => t("create_your_org"),
      (t) => t("create_your_org_description")
    );
  
  export default WithLayout({ getLayout, Page: EnterprisePage })<"P">;
  