Skip to main content

Module email_template

Module email_template 

Source
Expand description

Email Template diff.

§Why description is excluded from the syncable comparison

Braze’s /templates/email/info returns description but the create and update endpoints cannot set it. Including it in syncable_eq would make any local file with description: "..." diff as Modified forever — the same “infinite drift” mode the Content Block state exclusion prevents.

Structs§

EmailTemplateDiff

Functions§

diff
Returns None only when both sides are absent. Local is desired state, remote is current Braze state.

Type Aliases§

EmailTemplateIdIndex
Name → Braze email_template_id. Built during diff, consumed by apply to translate per-name plan entries into the id the update endpoint requires.