Added secret reminders email

This commit is contained in:
Daniel Hougaard
2024-01-19 00:26:46 +04:00
committed by Akhil Mohan
parent 49d6918297
commit f227824fb8
2 changed files with 19 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ export type TSmtpService = ReturnType<typeof smtpServiceFactory>;
export enum SmtpTemplates {
EmailVerification = "emailVerification.handlebars",
SecretReminder = "secretReminder.handlebars",
EmailMfa = "emailMfa.handlebars",
HistoricalSecretList = "historicalSecretLeakIncident.handlebars",
NewDeviceJoin = "newDevice.handlebars",

View File

@@ -0,0 +1,18 @@
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Secret Reminder</title>
</head>
<body>
<h2>Infisical</h2>
<h2>You have a new secret reminder!</h2>
<p>You have a new secret reminder from project "{{projectName}}", in {{organizationName}}</p>
{{#if reminderNote}}
<p>Here's the note included with the reminder: {{reminderNote}}</p>
{{/if}}
</body>
</html>