Home / Ops / More in this area

Affirmology Customer Email System - Single Source of Truth (Cowork <-> Code)

Updated Jul 02, 2026 · Affirmology_EmailSystem_SourceOfTruth_v1.md

Summary. Purpose: one template family, one sender, zero divergence. This is the authoritative doc for every customer-facing email. Read it before building or changing any email.

Affirmology Customer Email System - Single Source of Truth (Cowork <-> Code)

Purpose: one template family, one sender, zero divergence. This is the authoritative doc for every customer-facing email. Read it before building or changing any email.

Ownership split

Canonical template files (the source of truth)

Email File (project root) Subject Audience Engine constant to sync
Welcome / Origin delivery Affirmology_WelcomeEmail_Template_v1.html Welcome to Affirmology every demo-taker on song completion _WELCOME_HTML / _send_welcome_email()
The Mirror (new audio) Affirmology_MirrorEmail_v1.html We read your chart. Meet The Mirror. demo-takers who have a results page NEW: add _MIRROR_HTML / send_mirror_email() sibling
Form-stopper re-engage Affirmology_FormStopperEmail_v1.html Let's get you through to your Origin Soul Song NDA signers who never finished the form one-off batch
Render-fix Oops+Welcome Affirmology_RenderFix_OopsWelcome_v1.html Your Origin Soul Song is ready (sorry for the wait) signers whose render failed one-off batch

Shared spec (identical across all customer emails)

The Mirror email - build note for Code

Test protocol before ANY batch

Code sends Jeff a test using the SAME engine constant + a REAL job id, so the test the Jeff sees is byte-identical to what customers will get. Jeff signs off, then the batch runs.

Sync checklist (run this whenever an email changes)

  1. Cowork edits the canonical .html file and pings Code with the filename.
  2. Code copies that HTML verbatim into the matching constant in api/demo_render.py.
  3. Code sends Jeff a test from that constant + a real job.
  4. Jeff approves. Batch sends with BCC to jeff@affirmology.ai.