Service Layer medium complexity backend
0
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

A backend service responsible for dispatching transactional confirmation emails immediately after a demo booking request is received. It composes and sends a personalized email to the submitter acknowledging receipt and setting expectations for follow-up. The service ensures reliable delivery using a transactional email provider.

Feature: Booking Confirmation

booking-confirmation-email-service

Sources & reasoning

Booking Confirmation is the natural completion of the Booking Form conversion flow. The source doc places the entire demo booking capability in Sales Website MVP scope (lines 335-337), and a professional demo request process requires explicit confirmation to maintain lead quality and trust. The blueprint marks this feature [MVP], consistent with phase 1 evidence.

  • docs/source/likeperson.md · line 337
    Enkelt demo-booking-skjema (sender til e-post/webhook, ingen pålogging)
  • docs/source/likeperson.md · line 335
    Product Sales Website (MVP scope):

Responsibilities

  • Compose a personalized confirmation email using submission data (name, organization, email)
  • Dispatch the transactional email via a configured email provider (e.g. SendGrid, Resend)
  • Handle delivery failures gracefully with retry logic or error logging
  • Template the email body with branding, response timeframe, and contact details
  • Log sent email records for audit and tracking purposes

Interfaces

sendConfirmationEmail(submission: BookingSubmission): Promise<EmailResult>
composeEmailBody(submission: BookingSubmission): EmailTemplate
retryFailedDelivery(emailId: string): Promise<void>

Related Data Entities (1)

Data entities managed by this component