@pithy-sh/email 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/templates/registry.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH;oFACoF;AACpF,MAAM,WAAW,QAAQ;IACvB,0FAA0F;IAC1F,IAAI,EAAE,MAAM,CAAC;IACb,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;CACf;AAED,8GAA8G;AAC9G,MAAM,WAAW,aAAa;IAC5B,qEAAqE;IACrE,EAAE,EAAE,MAAM,CAAC;IACX,+GAA+G;IAC/G,QAAQ,EAAE,gBAAgB,CAAC;IAC3B;;;;;;;;;OASG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB,mGAAmG;IACnG,KAAK,EAAE,YAAY,CAAC;IACpB,kFAAkF;IAClF,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC;IACnB,yEAAyE;IACzE,OAAO,EAAE,MAAM,CAAC;IAChB,yFAAyF;IACzF,IAAI,EAAE,MAAM,CAAC;IACb,kFAAkF;IAClF,IAAI,EAAE,MAAM,CAAC;IACb,uEAAuE;IACvE,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AAuMD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;iBA2ClC,CAAC;AACJ;;;;;;GAMG;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAmEhF,0CAA0C;AAC1C,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAgPnD,CAAC"}
1
+ {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/templates/registry.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH;oFACoF;AACpF,MAAM,WAAW,QAAQ;IACvB,0FAA0F;IAC1F,IAAI,EAAE,MAAM,CAAC;IACb,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;CACf;AAED,8GAA8G;AAC9G,MAAM,WAAW,aAAa;IAC5B,qEAAqE;IACrE,EAAE,EAAE,MAAM,CAAC;IACX,+GAA+G;IAC/G,QAAQ,EAAE,gBAAgB,CAAC;IAC3B;;;;;;;;;OASG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB,mGAAmG;IACnG,KAAK,EAAE,YAAY,CAAC;IACpB,kFAAkF;IAClF,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC;IACnB,yEAAyE;IACzE,OAAO,EAAE,MAAM,CAAC;IAChB,yFAAyF;IACzF,IAAI,EAAE,MAAM,CAAC;IACb,kFAAkF;IAClF,IAAI,EAAE,MAAM,CAAC;IACb,uEAAuE;IACvE,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AAmRD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;iBA2ClC,CAAC;AACJ;;;;;;GAMG;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAmEhF,0CAA0C;AAC1C,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAmUnD,CAAC"}
@@ -101,6 +101,46 @@ const DeletionCompletePayload = z.object({
101
101
  name: z.string().optional().describe("The recipient's name, for a personal greeting. Optional."),
102
102
  purgedOn: z.string().describe("The date the account's data was erased, written for the reader.")
103
103
  }).describe("Inputs for the notice that an account's data was erased — sent before the address is.");
104
+ /**
105
+ * The three notices `@pithy-sh/organization` sends when an operator changes somebody's membership through
106
+ * the control plane (#624). Each names the organization, because a person in two accounts must be able to
107
+ * tell which one changed, and none carries the operator's reason: that is the trail's, written for the
108
+ * people who answer for the account, not for the person it happened to.
109
+ */
110
+ const OrganizationMemberAddedPayload = z.object({
111
+ name: z.string().optional().describe("The recipient's name, for a personal greeting. Optional."),
112
+ organizationName: z.string().describe("The organization they were added to, by display name. Tenant text, escaped like every value."),
113
+ role: z.string().describe("The role they hold there now, as the project's catalog names it.")
114
+ }).describe("Inputs for the notice that an operator added somebody to an organization.");
115
+ const OrganizationMemberRemovedPayload = z.object({
116
+ name: z.string().optional().describe("The recipient's name, for a personal greeting. Optional."),
117
+ organizationName: z.string().describe("The organization they were removed from, by display name. Tenant text, escaped like every value.")
118
+ }).describe("Inputs for the notice that an operator removed somebody from an organization.");
119
+ const OrganizationOwnershipTransferredPayload = z.object({
120
+ name: z.string().optional().describe("The recipient's name, for a personal greeting. Optional."),
121
+ organizationName: z.string().describe("The organization they now own, by display name. Tenant text, escaped like every value.")
122
+ }).describe("Inputs for the notice that an operator made somebody the owner of an organization.");
123
+ /**
124
+ * The three notices `@pithy-sh/organization` sends an organization's owners when an operator acts on the
125
+ * organization itself (#623): it was suspended, reinstated, or deleted with a date its data is erased. Each names
126
+ * the organization. The suspension carries the operator's reason, because the suspended screen tells every member
127
+ * the owners were told why.
128
+ */
129
+ const OrganizationSuspendedPayload = z.object({
130
+ name: z.string().optional().describe("The recipient's name, for a personal greeting. Optional."),
131
+ organizationName: z.string().describe("The organization that was suspended, by display name. Tenant text, escaped like every value."),
132
+ reason: z.string().optional().describe("Why it was suspended, in the operator's words. Rendered escaped. Omitted when none was given."),
133
+ until: z.string().optional().describe("When the suspension ends by itself, written for the reader. Omitted for one with no end.")
134
+ }).describe("Inputs for the notice to an owner that their organization was suspended.");
135
+ const OrganizationReinstatedPayload = z.object({
136
+ name: z.string().optional().describe("The recipient's name, for a personal greeting. Optional."),
137
+ organizationName: z.string().describe("The organization that was reinstated, by display name. Tenant text, escaped like every value.")
138
+ }).describe("Inputs for the notice to an owner that their organization's suspension was lifted.");
139
+ const OrganizationDeletionScheduledPayload = z.object({
140
+ name: z.string().optional().describe("The recipient's name, for a personal greeting. Optional."),
141
+ organizationName: z.string().describe("The organization that was deleted, by display name. Tenant text, escaped like every value."),
142
+ purgeOn: z.string().describe("When its data will be erased, written for the reader. Restorable until then.")
143
+ }).describe("Inputs for the notice to an owner that their organization was deleted and when it will be erased.");
104
144
  /** One labeled fact in an operational notice — what makes the notice specific rather than a mood. */
105
145
  const OperationalNoticeFact = z.object({
106
146
  label: z.string().describe("What this fact is: `Environment`, `Last rotated`, `Version`, `Owner`."),
@@ -320,6 +360,72 @@ const templates = {
320
360
  text: `${greeting}\n\n{{t "email/deletion_complete.text_body" app=theme.appName purgedOn=purgedOn}}\n\n{{t "email/deletion_complete.last"}}`,
321
361
  links: []
322
362
  },
363
+ organizationMemberAdded: {
364
+ id: "organizationMemberAdded",
365
+ category: "transactional",
366
+ kind: "transactional",
367
+ width: "narrow",
368
+ payload: OrganizationMemberAddedPayload,
369
+ subject: `{{t "email/organization_member_added.subject" organization=organizationName}}`,
370
+ html: layout(`${heading("{{t \"email/organization_member_added.heading\"}}")}<p style="margin:0 0 8px">${greeting} {{t "email/organization_member_added.body" organization=organizationName role=role app=theme.appName}}</p><p class="t-subtle" style="margin:16px 0 0; font-size:13px; color:{{theme.light.textSubtle}}">{{t "email/organization_member.contact"}}</p>`),
371
+ text: `${greeting}\n\n{{t "email/organization_member_added.text_body" organization=organizationName role=role app=theme.appName}}\n\n{{t "email/organization_member.contact"}}`,
372
+ links: []
373
+ },
374
+ organizationMemberRemoved: {
375
+ id: "organizationMemberRemoved",
376
+ category: "transactional",
377
+ kind: "transactional",
378
+ width: "narrow",
379
+ payload: OrganizationMemberRemovedPayload,
380
+ subject: `{{t "email/organization_member_removed.subject" organization=organizationName}}`,
381
+ html: layout(`${heading("{{t \"email/organization_member_removed.heading\"}}")}<p style="margin:0 0 8px">${greeting} {{t "email/organization_member_removed.body" organization=organizationName app=theme.appName}}</p><p class="t-subtle" style="margin:16px 0 0; font-size:13px; color:{{theme.light.textSubtle}}">{{t "email/organization_member.contact"}}</p>`),
382
+ text: `${greeting}\n\n{{t "email/organization_member_removed.text_body" organization=organizationName app=theme.appName}}\n\n{{t "email/organization_member.contact"}}`,
383
+ links: []
384
+ },
385
+ organizationOwnershipTransferred: {
386
+ id: "organizationOwnershipTransferred",
387
+ category: "transactional",
388
+ kind: "transactional",
389
+ width: "narrow",
390
+ payload: OrganizationOwnershipTransferredPayload,
391
+ subject: `{{t "email/organization_ownership_transferred.subject" organization=organizationName}}`,
392
+ html: layout(`${heading("{{t \"email/organization_ownership_transferred.heading\"}}")}<p style="margin:0 0 8px">${greeting} {{t "email/organization_ownership_transferred.body" organization=organizationName app=theme.appName}}</p><p class="t-subtle" style="margin:16px 0 0; font-size:13px; color:{{theme.light.textSubtle}}">{{t "email/organization_member.contact"}}</p>`),
393
+ text: `${greeting}\n\n{{t "email/organization_ownership_transferred.text_body" organization=organizationName app=theme.appName}}\n\n{{t "email/organization_member.contact"}}`,
394
+ links: []
395
+ },
396
+ organizationSuspended: {
397
+ id: "organizationSuspended",
398
+ category: "transactional",
399
+ kind: "transactional",
400
+ width: "narrow",
401
+ payload: OrganizationSuspendedPayload,
402
+ subject: `{{t "email/organization_suspended.subject" organization=organizationName}}`,
403
+ html: layout(`${heading("{{t \"email/organization_suspended.heading\"}}")}<p style="margin:0 0 8px">${greeting} {{t "email/organization_suspended.body" organization=organizationName app=theme.appName}}</p>{{#if reason}}<p style="margin:0 0 8px">{{t "email/organization_suspended.reason" reason=reason}}</p>{{/if}}{{#if until}}<p style="margin:0 0 8px">{{t "email/organization_suspended.until" until=until}}</p>{{/if}}<p class="t-subtle" style="margin:16px 0 0; font-size:13px; color:{{theme.light.textSubtle}}">{{t "email/organization_member.contact"}}</p>`),
404
+ text: `${greeting}\n\n{{t "email/organization_suspended.text_body" organization=organizationName app=theme.appName}}{{#if reason}}\n\n{{t "email/organization_suspended.reason" reason=reason}}{{/if}}{{#if until}}\n\n{{t "email/organization_suspended.until" until=until}}{{/if}}\n\n{{t "email/organization_member.contact"}}`,
405
+ links: []
406
+ },
407
+ organizationReinstated: {
408
+ id: "organizationReinstated",
409
+ category: "transactional",
410
+ kind: "transactional",
411
+ width: "narrow",
412
+ payload: OrganizationReinstatedPayload,
413
+ subject: `{{t "email/organization_reinstated.subject" organization=organizationName}}`,
414
+ html: layout(`${heading("{{t \"email/organization_reinstated.heading\"}}")}<p style="margin:0 0 8px">${greeting} {{t "email/organization_reinstated.body" organization=organizationName app=theme.appName}}</p><p class="t-subtle" style="margin:16px 0 0; font-size:13px; color:{{theme.light.textSubtle}}">{{t "email/organization_member.contact"}}</p>`),
415
+ text: `${greeting}\n\n{{t "email/organization_reinstated.text_body" organization=organizationName app=theme.appName}}\n\n{{t "email/organization_member.contact"}}`,
416
+ links: []
417
+ },
418
+ organizationDeletionScheduled: {
419
+ id: "organizationDeletionScheduled",
420
+ category: "transactional",
421
+ kind: "transactional",
422
+ width: "narrow",
423
+ payload: OrganizationDeletionScheduledPayload,
424
+ subject: `{{t "email/organization_deletion_scheduled.subject" organization=organizationName}}`,
425
+ html: layout(`${heading("{{t \"email/organization_deletion_scheduled.heading\"}}")}<p style="margin:0 0 8px">${greeting} {{t "email/organization_deletion_scheduled.body" organization=organizationName app=theme.appName purgeOn=purgeOn}}</p><p class="t-subtle" style="margin:16px 0 0; font-size:13px; color:{{theme.light.textSubtle}}">{{t "email/organization_deletion_scheduled.contact" purgeOn=purgeOn}}</p>`),
426
+ text: `${greeting}\n\n{{t "email/organization_deletion_scheduled.text_body" organization=organizationName app=theme.appName purgeOn=purgeOn}}\n\n{{t "email/organization_deletion_scheduled.contact" purgeOn=purgeOn}}`,
427
+ links: []
428
+ },
323
429
  operationalNotice: {
324
430
  id: "operationalNotice",
325
431
  category: "transactional",
@@ -1 +1 @@
1
- {"version":3,"file":"samples.d.ts","sourceRoot":"","sources":["../../src/templates/samples.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAsElD,CAAC"}
1
+ {"version":3,"file":"samples.d.ts","sourceRoot":"","sources":["../../src/templates/samples.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAiFlD,CAAC"}
@@ -68,6 +68,34 @@ const samplePayloads = {
68
68
  name: "Sam",
69
69
  purgedOn: "19 November 2026"
70
70
  },
71
+ organizationMemberAdded: {
72
+ name: "Sam",
73
+ organizationName: "Globex",
74
+ role: "admin"
75
+ },
76
+ organizationMemberRemoved: {
77
+ name: "Sam",
78
+ organizationName: "Globex"
79
+ },
80
+ organizationOwnershipTransferred: {
81
+ name: "Sam",
82
+ organizationName: "Globex"
83
+ },
84
+ organizationSuspended: {
85
+ name: "Sam",
86
+ organizationName: "Globex",
87
+ reason: "The invoice for October is unpaid.",
88
+ until: "19 November 2026"
89
+ },
90
+ organizationReinstated: {
91
+ name: "Sam",
92
+ organizationName: "Globex"
93
+ },
94
+ organizationDeletionScheduled: {
95
+ name: "Sam",
96
+ organizationName: "Globex",
97
+ purgeOn: "19 November 2026"
98
+ },
71
99
  operationalNotice: {
72
100
  severity: "warning",
73
101
  summary: "A secret has not been rotated in 90 days",
@@ -3,5 +3,5 @@
3
3
  /** This package's npm name — the join key against a release feed. */
4
4
  export declare const PACKAGE_NAME = "@pithy-sh/email";
5
5
  /** This package's version, stamped from its own package.json at generation time. */
6
- export declare const PACKAGE_VERSION = "0.6.0";
6
+ export declare const PACKAGE_VERSION = "0.7.0";
7
7
  //# sourceMappingURL=version.generated.d.ts.map
@@ -4,6 +4,6 @@
4
4
  /** This package's npm name — the join key against a release feed. */
5
5
  const PACKAGE_NAME = "@pithy-sh/email";
6
6
  /** This package's version, stamped from its own package.json at generation time. */
7
- const PACKAGE_VERSION = "0.6.0";
7
+ const PACKAGE_VERSION = "0.7.0";
8
8
  //#endregion
9
9
  export { PACKAGE_NAME, PACKAGE_VERSION };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pithy-sh/email",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,8 +42,8 @@
42
42
  "postal-mime": "^3.0.0"
43
43
  },
44
44
  "peerDependencies": {
45
- "@pithy-sh/core": "^0.12.0",
46
- "@pithy-sh/secrets": "^0.6.0",
45
+ "@pithy-sh/core": "^0.13.0",
46
+ "@pithy-sh/secrets": "^0.6.1",
47
47
  "hono": "^4.13.2",
48
48
  "kysely": "^0.29.0",
49
49
  "zod": "^4.4.0"
@@ -136,6 +136,47 @@ export const EMAIL_ES: MessageCatalog = {
136
136
  "Tu cuenta de {app} y sus datos se borraron el {purgedOn}. No se puede deshacer.",
137
137
  "email/deletion_complete.last": "Es el último correo que recibirá esta cuenta.",
138
138
 
139
+ // --- Administración de la pertenencia ---
140
+ "email/organization_member_added.subject": "Te han añadido a {organization}",
141
+ "email/organization_member_added.heading": "Te han añadido a una organización",
142
+ "email/organization_member_added.body": "te han añadido a {organization} en {app}, con la función {role}.",
143
+ "email/organization_member_added.text_body": "Te han añadido a {organization} en {app}, con la función {role}.",
144
+ "email/organization_member_removed.subject": "Te han quitado de {organization}",
145
+ "email/organization_member_removed.heading": "Te han quitado de una organización",
146
+ "email/organization_member_removed.body": "te han quitado de {organization} en {app}. Ya no puedes actuar en ella.",
147
+ "email/organization_member_removed.text_body":
148
+ "Te han quitado de {organization} en {app}. Ya no puedes actuar en ella.",
149
+ "email/organization_ownership_transferred.subject": "Ahora eres titular de {organization}",
150
+ "email/organization_ownership_transferred.heading": "Ahora eres titular de una organización",
151
+ "email/organization_ownership_transferred.body":
152
+ "ahora eres titular de {organization} en {app}. La administras y respondes por ella.",
153
+ "email/organization_ownership_transferred.text_body":
154
+ "Ahora eres titular de {organization} en {app}. La administras y respondes por ella.",
155
+ "email/organization_member.contact": "Si no lo esperabas, responde a este correo.",
156
+
157
+ // --- Ciclo de vida de la organización ---
158
+ "email/organization_suspended.subject": "{organization} está suspendida",
159
+ "email/organization_suspended.heading": "Tu organización está suspendida",
160
+ "email/organization_suspended.body":
161
+ "{organization} en {app} está suspendida. Nadie puede actuar en ella hasta que se restablezca. Tu propia cuenta no se ve afectada.",
162
+ "email/organization_suspended.text_body":
163
+ "{organization} en {app} está suspendida. Nadie puede actuar en ella hasta que se restablezca. Tu propia cuenta no se ve afectada.",
164
+ "email/organization_suspended.reason": "El motivo indicado: {reason}",
165
+ "email/organization_suspended.until": "Termina el {until}.",
166
+ "email/organization_reinstated.subject": "{organization} está restablecida",
167
+ "email/organization_reinstated.heading": "Tu organización está restablecida",
168
+ "email/organization_reinstated.body":
169
+ "{organization} en {app} está restablecida. Sus miembros pueden volver a actuar en ella.",
170
+ "email/organization_reinstated.text_body":
171
+ "{organization} en {app} está restablecida. Sus miembros pueden volver a actuar en ella.",
172
+ "email/organization_deletion_scheduled.subject": "{organization} está eliminada",
173
+ "email/organization_deletion_scheduled.heading": "Tu organización está eliminada",
174
+ "email/organization_deletion_scheduled.body":
175
+ "{organization} en {app} está eliminada. Nadie puede actuar en ella, y sus datos se borrarán el {purgeOn}.",
176
+ "email/organization_deletion_scheduled.text_body":
177
+ "{organization} en {app} está eliminada. Nadie puede actuar en ella, y sus datos se borrarán el {purgeOn}.",
178
+ "email/organization_deletion_scheduled.contact": "Para conservarla, responde a este correo antes del {purgeOn}.",
179
+
139
180
  // --- leadCapture ---
140
181
  "email/lead_capture.subject": "Tu descarga: {asset}",
141
182
  "email/lead_capture.heading": "Tu descarga está lista",
@@ -157,6 +157,50 @@ const EMAIL_EN: MessageCatalog = {
157
157
  "Your {app} account and its data were erased on {purgedOn}. This cannot be undone.",
158
158
  "email/deletion_complete.last": "This is the last email this account will receive.",
159
159
 
160
+ // --- Membership administration (#624) ---
161
+ // An operator changed somebody's membership. Each names the organization, because a person in two
162
+ // accounts has to know which one changed, and closes on who to answer.
163
+ "email/organization_member_added.subject": "You were added to {organization}",
164
+ "email/organization_member_added.heading": "You were added to an organization",
165
+ "email/organization_member_added.body": "you were added to {organization} on {app}, as {role}.",
166
+ "email/organization_member_added.text_body": "You were added to {organization} on {app}, as {role}.",
167
+ "email/organization_member_removed.subject": "You were removed from {organization}",
168
+ "email/organization_member_removed.heading": "You were removed from an organization",
169
+ "email/organization_member_removed.body":
170
+ "you were removed from {organization} on {app}. You can no longer act in it.",
171
+ "email/organization_member_removed.text_body":
172
+ "You were removed from {organization} on {app}. You can no longer act in it.",
173
+ "email/organization_ownership_transferred.subject": "You now own {organization}",
174
+ "email/organization_ownership_transferred.heading": "You now own an organization",
175
+ "email/organization_ownership_transferred.body":
176
+ "you are now the owner of {organization} on {app}. You administer it, and you answer for it.",
177
+ "email/organization_ownership_transferred.text_body":
178
+ "You are now the owner of {organization} on {app}. You administer it, and you answer for it.",
179
+ "email/organization_member.contact": "If you did not expect this, reply to this email.",
180
+
181
+ // --- The organization lifecycle (#623) ---
182
+ // To an owner, when an operator acts on the organization itself. Each names it, and says the owner's own
183
+ // account is not what changed.
184
+ "email/organization_suspended.subject": "{organization} is suspended",
185
+ "email/organization_suspended.heading": "Your organization is suspended",
186
+ "email/organization_suspended.body":
187
+ "{organization} on {app} is suspended. Nobody can act in it until it is reinstated. Your own account is not affected.",
188
+ "email/organization_suspended.text_body":
189
+ "{organization} on {app} is suspended. Nobody can act in it until it is reinstated. Your own account is not affected.",
190
+ "email/organization_suspended.reason": "The reason given: {reason}",
191
+ "email/organization_suspended.until": "It ends on {until}.",
192
+ "email/organization_reinstated.subject": "{organization} is reinstated",
193
+ "email/organization_reinstated.heading": "Your organization is reinstated",
194
+ "email/organization_reinstated.body": "{organization} on {app} is reinstated. Its members can act in it again.",
195
+ "email/organization_reinstated.text_body": "{organization} on {app} is reinstated. Its members can act in it again.",
196
+ "email/organization_deletion_scheduled.subject": "{organization} is deleted",
197
+ "email/organization_deletion_scheduled.heading": "Your organization is deleted",
198
+ "email/organization_deletion_scheduled.body":
199
+ "{organization} on {app} is deleted. Nobody can act in it, and its data will be erased on {purgeOn}.",
200
+ "email/organization_deletion_scheduled.text_body":
201
+ "{organization} on {app} is deleted. Nobody can act in it, and its data will be erased on {purgeOn}.",
202
+ "email/organization_deletion_scheduled.contact": "To keep it, reply to this email before {purgeOn}.",
203
+
160
204
  // --- leadCapture ---
161
205
  "email/lead_capture.subject": "Your download: {asset}",
162
206
  "email/lead_capture.heading": "Your download is ready",