{{recipient.first_name}} and multiple recipients are on the send, define one clear rule for which person those variables refer to.renderEmailFromTemplate and per-recipient sends in attik-backend/src/util/functions/emailBuilder/renderEmail.ts, with recipient identity helpers in src/util/functions/actionFlows/recipientIdentity.js (imported from renderEmail.ts). Variable substitution should stay consistent with whatever “primary recipient” or per-recipient pass is chosen.Screen Recording 2026-05-01 at 11.54.11 AM.mov
Backend (attik-backend)
src/util/functions/emailBuilder/renderEmail.ts — merge-field resolution for multi-recipient batch and single-recipient sends; align preview endpoint behavior if one exists alongside production.src/util/functions/actionFlows/recipientIdentity.js — how “current recipient” is chosen for template blocks.Frontend (attik-frontend)
attik-backend/src/util/functions/emailBuilder/renderEmail.tsattik-backend/src/util/functions/actionFlows/recipientIdentity.jsPlease authenticate to join the conversation.
Completed
Main App
2 months ago
Linear
Get notified by email when there are changes.
Completed
Main App
2 months ago
Linear
Get notified by email when there are changes.