2.1 KiB
2.1 KiB
05. Update Email Templates, Notification Content, and Queue Names
meta: id: rebrand-to-kordant-05 feature: rebrand-to-kordant priority: P1 depends_on: [rebrand-to-kordant-01] tags: [backend, email]
objective:
- Replace all "ShieldAI" references in email templates, notification services, report generators, and BullMQ queue names.
deliverables:
- email.templates.ts — brand text, subjects, bodies, headers, footers updated
- email.templates.test.ts — test assertions updated
- notification.service.ts — from address updated to kordant.ai
- alert.publisher.ts — push notification title prefix updated
- reports.service.ts — report title updated
- reports/generator.ts — report text updated
- reports/templates/*.html — HTML report templates updated
- queue.ts — BullMQ queue name updated from "shieldai-jobs" to "kordant-jobs"
- waitlist-email-sequence-implementation.md — domain references updated
steps:
- Edit email.templates.ts — replace all "ShieldAI" brand text in subjects, HTML, plain text bodies, footers, team signatures
- Edit email.templates.ts — update from/noreply email to
noreply@kordant.ai - Edit email.templates.test.ts — update test assertions to expect "Kordant"
- Edit notification.service.ts — update
noreply@shieldai.app→noreply@kordant.ai - Edit alert.publisher.ts — update
`[ShieldAI] ${alert.title}`→`[Kordant] ${alert.title}` - Edit reports.service.ts — update report title from "ShieldAI" to "Kordant"
- Edit reports/generator.ts — update all brand text references
- Edit reports/templates/*.html — update title and footer in weekly-digest, monthly-plus, annual-premium
- Edit queue.ts — update queue name "shieldai-jobs" → "kordant-jobs"
tests:
- Unit: Email template tests pass with new brand name
- Unit: Report generator tests pass
acceptance_criteria:
- No "ShieldAI" remains in any email template, notification, or report
- Email from address uses
@kordant.ai - BullMQ queue name uses "kordant-jobs"
validation:
- Run
grep -rn "ShieldAI" web/src/server/services/— expect zero results - Run
grep "shieldai-jobs" web/src/server/jobs/queue.ts— expect zero