/** * Workflow Resumed Email Template */ import { WorkflowResumedData } from './types'; import { getEmailFooter, getEmailHeader, HeaderStyles, getActionRequiredSection } from './helpers'; import { getBrandedHeader } from './branding.config'; export function getWorkflowResumedEmail(data: WorkflowResumedData): string { return ` Workflow Resumed
${getEmailHeader(getBrandedHeader({ title: 'Workflow Resumed', ...HeaderStyles.success }))} ${getEmailFooter(data.companyName)}

Dear ${data.recipientName},

Good news! The following request has been resumed ${data.resumedByText}. The approval process is now active again and requires your attention.

Request Details

Request ID: ${data.requestId}
Title: ${data.requestTitle || 'N/A'}
Resumed On: ${data.resumedDate} at ${data.resumedTime}
Paused Duration: ${data.pausedDuration}
Current Approver: ${data.currentApprover}
New TAT Deadline: ${data.newTATDeadline}
${getActionRequiredSection(data.isApprover)}

What Happens Now

  • The approval process has restarted
  • TAT timers are now active again
  • The approver can now take action on this request
  • All stakeholders have been notified
View Request Details

Thank you for your patience during the pause period.

`; }