Added secret reminders email

This commit is contained in:
Daniel Hougaard
2024-01-27 12:39:54 +05:30
committed by Akhil Mohan
parent 49d6918297
commit f227824fb8
2 changed files with 19 additions and 0 deletions
@@ -18,6 +18,7 @@ export type TSmtpService = ReturnType<typeof smtpServiceFactory>;
export enum SmtpTemplates { export enum SmtpTemplates {
EmailVerification = "emailVerification.handlebars", EmailVerification = "emailVerification.handlebars",
SecretReminder = "secretReminder.handlebars",
EmailMfa = "emailMfa.handlebars", EmailMfa = "emailMfa.handlebars",
HistoricalSecretList = "historicalSecretLeakIncident.handlebars", HistoricalSecretList = "historicalSecretLeakIncident.handlebars",
NewDeviceJoin = "newDevice.handlebars", NewDeviceJoin = "newDevice.handlebars",
@@ -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>