# Checklist emails — professional templates (same style as NC module)

## What changed (nothing removed)
- NEW `services/checklist-email-template.service.ts`: Handlebars loader, same pattern as `NcEmailTemplateService`.
- NEW `services/email-templates/*.html`: 4 templates + 6 shared partials.
    - checklist-ready-client: goes to the client when the auditor clicks Notify client.
    - checklist-doc-uploaded-auditor: goes to the lead auditor on every upload, with the file attached.
    - checklist-submitted-auditor: goes to the lead auditor (and optional admin) when the client submits.
    - checklist-review-result-client: goes to the client with the approved / re-upload result.
- `checklists.module.ts`: `ChecklistEmailTemplateService` added to providers.
- `services/checklists.service.ts`: the 4 emails now render these templates. The old inline `checklistEmailHtml()` is kept as an automatic fallback: if a template fails to load, the old HTML is sent, so emails never stop.
- The "Message from your auditor" label is removed. The auditor's note now shows as a normal paragraph.
- Client emails open with "Dear {contact person}". If the company has no contact person, they use "Dear {company name}".
- Client emails are signed with the auditor's name.

## Outlook support
- Table-only layout with a fixed 640px MSO ghost table.
- `bgcolor` attributes and solid colours; no gradients, no flexbox.
- VML "bulletproof" buttons.
- Hidden preheader for the inbox preview line.

## Deploy
1. `handlebars` is already installed (the NC module uses it).
2. `nest-cli.json` → `assets` must copy `.html` into `dist/`. The `"**/*.html"` glob added for NC already covers this.
3. `npm run build`, then restart pm2. The log should show `[CHECKLIST-EMAIL-TPL] Templates compiled`.
   If it shows `Could not load templates`, the .html files are missing from dist/. Emails still go out using the fallback HTML.
