Problem
No HTML email template exists for booking confirmations. Users receive plain-text emails with no branding, making them look untrustworthy and prone to landing in spam.
Proposed Solution
Create backend/cntr/booking-confirmation.template.mjml (the MJML source) and backend/cntr/booking-confirmation.util.ts (a function renderBookingConfirmationEmail(vars): string that compiles the template using the installed mjml package). Variables: memberName, workspaceName, startDate, endDate, totalAmountNaira, bookingReference. All implementation must live inside backend/cntr/.
Acceptance Criteria
Problem
No HTML email template exists for booking confirmations. Users receive plain-text emails with no branding, making them look untrustworthy and prone to landing in spam.
Proposed Solution
Create
backend/cntr/booking-confirmation.template.mjml(the MJML source) andbackend/cntr/booking-confirmation.util.ts(a functionrenderBookingConfirmationEmail(vars): stringthat compiles the template using the installedmjmlpackage). Variables:memberName,workspaceName,startDate,endDate,totalAmountNaira,bookingReference. All implementation must live insidebackend/cntr/.Acceptance Criteria
backend/cntr/booking-confirmation.template.mjmlbackend/cntr/booking-confirmation.util.tsmjmlpackage (already inpackage.json)#0ea5e9in the headerbackend/cntr/booking-confirmation.util.spec.tsverifying the function returns HTML containing each variable value