Skip to content

Commit c0d91e9

Browse files
committed
regen: content/docs/references/system/email-template.mdx from the merged tree (os-regen-merge step 3)
Main's side of the generated reference, re-derived from the merged email-template.zod.ts header (the registry flag cited as allowEnvironmentOverlay). Discharges the merge commit's deferral. Claude-Session: https://claude.ai/code/session_01KNKBCRDJCu5tGy3TEbvtrF Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5202331 commit c0d91e9

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

‎content/docs/references/system/email-template.mdx‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ description: "Declarative template definition consumed by IEmailService.sendTemp
99
Email Template Metadata Protocol
1010

1111
Declarative template definition consumed by `IEmailService.sendTemplate()`
12-
to render outbound mail. Persisted as rows of `sys_email_template` so
13-
administrators can author/edit/translate templates in Studio without
14-
shipping code, and an environment can overlay the packaged defaults
15-
(`allowEnvironmentOverlay: true` in the metadata registry).
12+
to render outbound mail. Read from the metadata registry by
13+
`(name, locale)` — the environment's item over each code package's
14+
declaration, the built-in auth templates included — so administrators can
15+
author/edit/translate templates in Studio without shipping code, and a
16+
Studio save overrides a built-in default at environment level
17+
(`allowEnvironmentOverlay: true` in the metadata registry). No
18+
`sys_email_template` row is read or written on the way.
1619

1720
Aligned with Salesforce `EmailTemplate` and ServiceNow
1821
`sysevent_email_action` conventions: a single named template is

0 commit comments

Comments
 (0)