feat: add feature flag for sending workflow emails with smtp (#21187)

* add feature flag

* add unit tests

---------

Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
Carina WollendorferandCarinaWolli authored and GitHub committed 2025-05-08 22:39:14 +00:00
1 parent 50173658f8
commit 80fa172f79
12 files changed
+165 -7

No files matched your search

@@ -314,6 +314,8 @@ export const activateEventTypeHandler = async ({ ctx, input }: ActivateEventType
sender: step.sender,
workflowStepId: step.id,
verifiedAt: step.verifiedAt,
userId: eventTypeWorkflow.userId,
teamId: eventTypeWorkflow.teamId,
});
} else if (step.action === WorkflowActions.SMS_NUMBER && step.sendTo) {
await scheduleSMSReminder({
@@ -704,6 +704,8 @@ export async function scheduleBookingReminders(
sender: step.sender,
workflowStepId: step.id,
verifiedAt: step?.verifiedAt ?? null,
userId,
teamId,
});
} else if (step.action === WorkflowActions.SMS_NUMBER && step.sendTo) {
await scheduleSMSReminder({