diff --git a/backend/src/@types/fastify.d.ts b/backend/src/@types/fastify.d.ts index 92c22874e..77db3e59e 100644 --- a/backend/src/@types/fastify.d.ts +++ b/backend/src/@types/fastify.d.ts @@ -71,6 +71,7 @@ import { TIdentityTokenAuthServiceFactory } from "@app/services/identity-token-a import { TIdentityUaServiceFactory } from "@app/services/identity-ua/identity-ua-service"; import { TIntegrationServiceFactory } from "@app/services/integration/integration-service"; import { TIntegrationAuthServiceFactory } from "@app/services/integration-auth/integration-auth-service"; +import { TMicrosoftTeamsServiceFactory } from "@app/services/microsoft-teams/microsoft-teams-service"; import { TOrgRoleServiceFactory } from "@app/services/org/org-role-service"; import { TOrgServiceFactory } from "@app/services/org/org-service"; import { TOrgAdminServiceFactory } from "@app/services/org-admin/org-admin-service"; @@ -100,7 +101,6 @@ import { TUserServiceFactory } from "@app/services/user/user-service"; import { TUserEngagementServiceFactory } from "@app/services/user-engagement/user-engagement-service"; import { TWebhookServiceFactory } from "@app/services/webhook/webhook-service"; import { TWorkflowIntegrationServiceFactory } from "@app/services/workflow-integration/workflow-integration-service"; -import { TMicrosoftTeamsServiceFactory } from "@app/services/microsoft-teams/microsoft-teams-service"; declare module "@fastify/request-context" { interface RequestContextData { diff --git a/backend/src/server/routes/v1/index.ts b/backend/src/server/routes/v1/index.ts index d2ba35a7e..a50299555 100644 --- a/backend/src/server/routes/v1/index.ts +++ b/backend/src/server/routes/v1/index.ts @@ -26,6 +26,7 @@ import { registerIdentityUaRouter } from "./identity-universal-auth-router"; import { registerIntegrationAuthRouter } from "./integration-auth-router"; import { registerIntegrationRouter } from "./integration-router"; import { registerInviteOrgRouter } from "./invite-org-router"; +import { registerMicrosoftTeamsRouter } from "./microsoft-teams-router"; import { registerOrgAdminRouter } from "./org-admin-router"; import { registerOrgRouter } from "./organization-router"; import { registerPasswordRouter } from "./password-router"; @@ -47,7 +48,6 @@ import { registerUserEngagementRouter } from "./user-engagement-router"; import { registerUserRouter } from "./user-router"; import { registerWebhookRouter } from "./webhook-router"; import { registerWorkflowIntegrationRouter } from "./workflow-integration-router"; -import { registerMicrosoftTeamsRouter } from "./microsoft-teams-router"; export const registerV1Routes = async (server: FastifyZodProvider) => { await server.register(registerSsoRouter, { prefix: "/sso" }); diff --git a/backend/src/services/smtp/emails/EmailMfaTemplate.tsx b/backend/src/services/smtp/emails/EmailMfaTemplate.tsx index 8a35b011d..b01e2f8af 100644 --- a/backend/src/services/smtp/emails/EmailMfaTemplate.tsx +++ b/backend/src/services/smtp/emails/EmailMfaTemplate.tsx @@ -15,7 +15,7 @@ export const EmailMfaTemplate = ({ code, siteUrl, isCloud }: EmailMfaTemplatePro MFA required
- Enter the MFA code below in the browser where you started sign-in. + Enter the MFA code shown below in the browser where you started sign-in. {code} @@ -26,7 +26,7 @@ export const EmailMfaTemplate = ({ code, siteUrl, isCloud }: EmailMfaTemplatePro {isCloud ? ( <> Contact us at{" "} - + support@infisical.com {" "} immediately diff --git a/backend/src/services/smtp/emails/EmailVerificationTemplate.tsx b/backend/src/services/smtp/emails/EmailVerificationTemplate.tsx index 6c0f410b1..fc32b01b0 100644 --- a/backend/src/services/smtp/emails/EmailVerificationTemplate.tsx +++ b/backend/src/services/smtp/emails/EmailVerificationTemplate.tsx @@ -12,14 +12,14 @@ export const EmailVerificationTemplate = ({ code, siteUrl, isCloud }: EmailVerif return ( Confirm your email address
- Enter the confirmation code below in the browser window requiring confirmation. + Enter the confirmation code shown below in the browser window requiring confirmation. {code} @@ -30,7 +30,7 @@ export const EmailVerificationTemplate = ({ code, siteUrl, isCloud }: EmailVerif {isCloud ? ( <> Email us at{" "} - + support@infisical.com diff --git a/backend/src/services/smtp/emails/ExternalImportFailedTemplate.tsx b/backend/src/services/smtp/emails/ExternalImportFailedTemplate.tsx index c283fdad9..3cca41721 100644 --- a/backend/src/services/smtp/emails/ExternalImportFailedTemplate.tsx +++ b/backend/src/services/smtp/emails/ExternalImportFailedTemplate.tsx @@ -21,7 +21,7 @@ export const ExternalImportFailedTemplate = ({ error, siteUrl, provider }: Exter If your issue persists, you can contact the Infisical team at{" "} - + support@infisical.com . diff --git a/backend/src/services/smtp/emails/ExternalImportStartedTemplate.tsx b/backend/src/services/smtp/emails/ExternalImportStartedTemplate.tsx index fc24536b4..9b8ce6cf7 100644 --- a/backend/src/services/smtp/emails/ExternalImportStartedTemplate.tsx +++ b/backend/src/services/smtp/emails/ExternalImportStartedTemplate.tsx @@ -26,5 +26,6 @@ export const ExternalImportStartedTemplate = ({ siteUrl, provider }: ExternalImp export default ExternalImportStartedTemplate; ExternalImportStartedTemplate.PreviewProps = { - provider: "EnvKey" + provider: "EnvKey", + siteUrl: "https://infisical.com" } as ExternalImportStartedTemplateProps; diff --git a/backend/src/services/smtp/emails/IntegrationSyncFailedTemplate.tsx b/backend/src/services/smtp/emails/IntegrationSyncFailedTemplate.tsx index 9eeeb4c3f..c2fb78ae0 100644 --- a/backend/src/services/smtp/emails/IntegrationSyncFailedTemplate.tsx +++ b/backend/src/services/smtp/emails/IntegrationSyncFailedTemplate.tsx @@ -24,7 +24,7 @@ export const IntegrationSyncFailedTemplate = ({ return ( diff --git a/backend/src/services/smtp/emails/NewDeviceLoginTemplate.tsx b/backend/src/services/smtp/emails/NewDeviceLoginTemplate.tsx index 3d301c0ab..9692bc77d 100644 --- a/backend/src/services/smtp/emails/NewDeviceLoginTemplate.tsx +++ b/backend/src/services/smtp/emails/NewDeviceLoginTemplate.tsx @@ -42,7 +42,7 @@ export const NewDeviceLoginTemplate = ({ If you believe that this login is suspicious, please contact{" "} {isCloud ? ( - + support@infisical.com ) : ( diff --git a/backend/src/services/smtp/emails/OrgAdminBreakglassAccessTemplate.tsx b/backend/src/services/smtp/emails/OrgAdminBreakglassAccessTemplate.tsx index f3d0d01d7..1d2ecc1a3 100644 --- a/backend/src/services/smtp/emails/OrgAdminBreakglassAccessTemplate.tsx +++ b/backend/src/services/smtp/emails/OrgAdminBreakglassAccessTemplate.tsx @@ -24,7 +24,7 @@ export const OrgAdminBreakglassAccessTemplate = ({ siteUrl={siteUrl} > - The organization admin {email} has bypassed enforced SSO login. + The organization admin {email} has bypassed enforced SSO login
Timestamp @@ -53,5 +53,5 @@ OrgAdminBreakglassAccessTemplate.PreviewProps = { "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Safari/605.1.15", timestamp: "Tue Apr 29 2025 23:03:27 GMT+0000 (Coordinated Universal Time)", siteUrl: "https://infisical.com", - email: "august@infiscal.com" + email: "august@infisical.com" } as OrgAdminBreakglassAccessTemplateProps; diff --git a/backend/src/services/smtp/emails/OrgAdminProjectGrantAccessTemplate.tsx b/backend/src/services/smtp/emails/OrgAdminProjectGrantAccessTemplate.tsx index 4a9eeae3e..bec22575c 100644 --- a/backend/src/services/smtp/emails/OrgAdminProjectGrantAccessTemplate.tsx +++ b/backend/src/services/smtp/emails/OrgAdminProjectGrantAccessTemplate.tsx @@ -36,5 +36,6 @@ export default OrgAdminProjectGrantAccessTemplate; OrgAdminProjectGrantAccessTemplate.PreviewProps = { email: "kevin@infisical.com", - projectName: "Example Project" + projectName: "Example Project", + siteUrl: "https://infisical.com" } as OrgAdminProjectGrantAccessTemplateProps; diff --git a/backend/src/services/smtp/emails/OrganizationInvitationTemplate.tsx b/backend/src/services/smtp/emails/OrganizationInvitationTemplate.tsx index 6e27d1e9b..b281e75d6 100644 --- a/backend/src/services/smtp/emails/OrganizationInvitationTemplate.tsx +++ b/backend/src/services/smtp/emails/OrganizationInvitationTemplate.tsx @@ -47,8 +47,8 @@ export const OrganizationInvitationTemplate = ({
@@ -71,5 +71,7 @@ OrganizationInvitationTemplate.PreviewProps = { inviterUsername: "jane@infisical.com", email: "john@infisical.com", siteUrl: "https://infisical.com", - callback_url: "https://app.infisical.com" + callback_url: "https://app.infisical.com", + token: "preview-token", + organizationId: "1ae1c2c7-8068-461c-b15e-421737868a6a" } as OrganizationInvitationTemplateProps; diff --git a/backend/src/services/smtp/emails/PasswordResetTemplate.tsx b/backend/src/services/smtp/emails/PasswordResetTemplate.tsx index b4ac0d5a7..7486b29d9 100644 --- a/backend/src/services/smtp/emails/PasswordResetTemplate.tsx +++ b/backend/src/services/smtp/emails/PasswordResetTemplate.tsx @@ -27,7 +27,7 @@ export const PasswordResetTemplate = ({ email, isCloud, siteUrl, callback_url, t {isCloud ? ( <> us immediately at{" "} - + support@infisical.com @@ -39,8 +39,8 @@ export const PasswordResetTemplate = ({ email, isCloud, siteUrl, callback_url, t
@@ -54,5 +54,7 @@ export default PasswordResetTemplate; PasswordResetTemplate.PreviewProps = { email: "kevin@infisical.com", callback_url: "https://app.infisical.com", - isCloud: true + isCloud: true, + token: "preview-token", + siteUrl: "https://infisical.com" } as PasswordResetTemplateProps; diff --git a/backend/src/services/smtp/emails/PasswordSetupTemplate.tsx b/backend/src/services/smtp/emails/PasswordSetupTemplate.tsx index a03724a39..c8a986c8c 100644 --- a/backend/src/services/smtp/emails/PasswordSetupTemplate.tsx +++ b/backend/src/services/smtp/emails/PasswordSetupTemplate.tsx @@ -26,7 +26,7 @@ export const PasswordSetupTemplate = ({ email, isCloud, siteUrl, callback_url, t {isCloud ? ( <> us immediately at{" "} - + support@infisical.com @@ -38,8 +38,8 @@ export const PasswordSetupTemplate = ({ email, isCloud, siteUrl, callback_url, t
@@ -53,5 +53,7 @@ export default PasswordSetupTemplate; PasswordSetupTemplate.PreviewProps = { email: "casey@infisical.com", callback_url: "https://app.infisical.com", - isCloud: true + isCloud: true, + siteUrl: "https://infisical.com", + token: "preview-token" } as PasswordSetupTemplateProps; diff --git a/backend/src/services/smtp/emails/PkiExpirationAlertTemplate.tsx b/backend/src/services/smtp/emails/PkiExpirationAlertTemplate.tsx index db3b4816e..a09a125a2 100644 --- a/backend/src/services/smtp/emails/PkiExpirationAlertTemplate.tsx +++ b/backend/src/services/smtp/emails/PkiExpirationAlertTemplate.tsx @@ -45,10 +45,10 @@ export const PkiExpirationAlertTemplate = ({ ))}
- + Please take the necessary actions to renew these items before they expire. - + For more details, please log in to your Infisical account and check your PKI management section.
@@ -61,8 +61,9 @@ export default PkiExpirationAlertTemplate; PkiExpirationAlertTemplate.PreviewProps = { alertBeforeDays: 5, items: [ - { type: "CA", friendlyName: "Example CA", serialNumber: "1234567890", expiryDate: "2022-01-01" }, - { type: "Certificate", friendlyName: "Example Certificate", serialNumber: "1234567890", expiryDate: "2022-01-01" } + { type: "CA", friendlyName: "Example CA", serialNumber: "1234567890", expiryDate: "2032-01-01" }, + { type: "Certificate", friendlyName: "Example Certificate", serialNumber: "2345678901", expiryDate: "2032-01-01" } ], - alertName: "My PKI Alert" + alertName: "My PKI Alert", + siteUrl: "https://infisical.com" } as PkiExpirationAlertTemplateProps; diff --git a/backend/src/services/smtp/emails/ProjectAccessRequestTemplate.tsx b/backend/src/services/smtp/emails/ProjectAccessRequestTemplate.tsx index 28933b538..afc32a86b 100644 --- a/backend/src/services/smtp/emails/ProjectAccessRequestTemplate.tsx +++ b/backend/src/services/smtp/emails/ProjectAccessRequestTemplate.tsx @@ -8,7 +8,6 @@ interface ProjectAccessRequestTemplateProps extends Omit - You've been invited to join a new project on Infisical + You've been invited to join a project on Infisical
@@ -26,7 +26,7 @@ export const ProjectInvitationTemplate = ({ callback_url, workspaceName, siteUrl
diff --git a/backend/src/services/smtp/emails/ScimUserProvisionedTemplate.tsx b/backend/src/services/smtp/emails/ScimUserProvisionedTemplate.tsx index 722894835..bbd41818e 100644 --- a/backend/src/services/smtp/emails/ScimUserProvisionedTemplate.tsx +++ b/backend/src/services/smtp/emails/ScimUserProvisionedTemplate.tsx @@ -26,13 +26,13 @@ export const ScimUserProvisionedTemplate = ({
- You've been invited you to collaborate on {organizationName}. + You've been invited to collaborate on {organizationName}.
diff --git a/backend/src/services/smtp/emails/SecretApprovalRequestNeedsReviewTemplate.tsx b/backend/src/services/smtp/emails/SecretApprovalRequestNeedsReviewTemplate.tsx index faff34b58..b4a7c306a 100644 --- a/backend/src/services/smtp/emails/SecretApprovalRequestNeedsReviewTemplate.tsx +++ b/backend/src/services/smtp/emails/SecretApprovalRequestNeedsReviewTemplate.tsx @@ -25,10 +25,10 @@ export const SecretApprovalRequestNeedsReviewTemplate = ({ siteUrl={siteUrl} > - A secret approval request for the project {projectName} requires review. + A secret approval request for the project {projectName} requires review
- Hello {firstName}, + Hello {firstName}, You have a new secret change request pending your review for the project {projectName} in the organization {organizationName}. diff --git a/backend/src/services/smtp/emails/SecretLeakIncidentTemplate.tsx b/backend/src/services/smtp/emails/SecretLeakIncidentTemplate.tsx index 3ef10eb4e..386566cc4 100644 --- a/backend/src/services/smtp/emails/SecretLeakIncidentTemplate.tsx +++ b/backend/src/services/smtp/emails/SecretLeakIncidentTemplate.tsx @@ -62,8 +62,8 @@ export const SecretLeakIncidentTemplate = ({
diff --git a/backend/src/services/smtp/emails/SecretReminderTemplate.tsx b/backend/src/services/smtp/emails/SecretReminderTemplate.tsx index 753246db5..01b2e9044 100644 --- a/backend/src/services/smtp/emails/SecretReminderTemplate.tsx +++ b/backend/src/services/smtp/emails/SecretReminderTemplate.tsx @@ -18,7 +18,7 @@ export const SecretReminderTemplate = ({ return ( - Secret Reminder + Secret Reminder
diff --git a/backend/src/services/smtp/emails/SecretRequestCompletedTemplate.tsx b/backend/src/services/smtp/emails/SecretRequestCompletedTemplate.tsx index 75e2d1ba5..4adeec636 100644 --- a/backend/src/services/smtp/emails/SecretRequestCompletedTemplate.tsx +++ b/backend/src/services/smtp/emails/SecretRequestCompletedTemplate.tsx @@ -3,7 +3,7 @@ import React from "react"; import { BaseEmailWrapper, BaseEmailWrapperProps } from "./BaseEmailWrapper"; -interface ShareSecretTemplateProps extends Omit { +interface SecretRequestCompletedTemplateProps extends Omit { name?: string; respondentUsername: string; secretRequestUrl: string; @@ -14,14 +14,14 @@ export const SecretRequestCompletedTemplate = ({ siteUrl, respondentUsername, secretRequestUrl -}: ShareSecretTemplateProps) => { +}: SecretRequestCompletedTemplateProps) => { return ( A secret has been shared with you
- + {respondentUsername ? {respondentUsername} : "Someone"} shared a secret{" "} {name && ( <> @@ -50,4 +50,4 @@ SecretRequestCompletedTemplate.PreviewProps = { siteUrl: "https://infisical.com", secretRequestUrl: "https://infisical.com", name: "API_TOKEN" -} as ShareSecretTemplateProps; +} as SecretRequestCompletedTemplateProps; diff --git a/backend/src/services/smtp/emails/SecretRotationFailedTemplate.tsx b/backend/src/services/smtp/emails/SecretRotationFailedTemplate.tsx index 6b149dcf3..52e58986d 100644 --- a/backend/src/services/smtp/emails/SecretRotationFailedTemplate.tsx +++ b/backend/src/services/smtp/emails/SecretRotationFailedTemplate.tsx @@ -26,7 +26,7 @@ export const SecretRotationFailedTemplate = ({ return ( - Your {rotationType} Rotation {rotationName} failed to rotate + Your {rotationType} rotation {rotationName} failed to rotate
Name @@ -47,7 +47,7 @@ export const SecretRotationFailedTemplate = ({ href={`${rotationUrl}?search=${rotationName}&secretPath=${secretPath}`} className="rounded-md p-3 px-[28px] my-[8px] text-center text-[16px] bg-[#EBF852] border-solid border border-[#d1e309] text-black font-medium" > - View in Infiscal + View in Infisical
diff --git a/backend/src/services/smtp/emails/SecretSyncFailedTemplate.tsx b/backend/src/services/smtp/emails/SecretSyncFailedTemplate.tsx index 9cad01250..01d909219 100644 --- a/backend/src/services/smtp/emails/SecretSyncFailedTemplate.tsx +++ b/backend/src/services/smtp/emails/SecretSyncFailedTemplate.tsx @@ -26,7 +26,7 @@ export const SecretSyncFailedTemplate = ({ return ( - Your {syncDestination} Sync {syncName} failed to sync + Your {syncDestination} sync {syncName} failed to complete
Name @@ -59,7 +59,7 @@ export const SecretSyncFailedTemplate = ({ href={syncUrl} className="rounded-md p-3 px-[28px] my-[8px] text-center text-[16px] bg-[#EBF852] border-solid border border-[#d1e309] text-black font-medium" > - View in Infiscal + View in Infisical
diff --git a/backend/src/services/smtp/emails/ServiceTokenExpiryNoticeTemplate.tsx b/backend/src/services/smtp/emails/ServiceTokenExpiryNoticeTemplate.tsx index a45b83d7d..8f8deb63a 100644 --- a/backend/src/services/smtp/emails/ServiceTokenExpiryNoticeTemplate.tsx +++ b/backend/src/services/smtp/emails/ServiceTokenExpiryNoticeTemplate.tsx @@ -25,7 +25,7 @@ export const ServiceTokenExpiryNoticeTemplate = ({ Service token expiry notice
- + Your service token {tokenName} for the project {projectName} will expire within 24 hours. diff --git a/backend/src/services/smtp/emails/SignupEmailVerificationTemplate.tsx b/backend/src/services/smtp/emails/SignupEmailVerificationTemplate.tsx index 66bb8e633..0a3da75f9 100644 --- a/backend/src/services/smtp/emails/SignupEmailVerificationTemplate.tsx +++ b/backend/src/services/smtp/emails/SignupEmailVerificationTemplate.tsx @@ -19,7 +19,7 @@ export const SignupEmailVerificationTemplate = ({ code, siteUrl, isCloud }: Sign Confirm your email address
- Enter the confirmation code below in the browser where you started sign-up. + Enter the confirmation code shown below in the browser where you started sign-up. {code} @@ -30,7 +30,7 @@ export const SignupEmailVerificationTemplate = ({ code, siteUrl, isCloud }: Sign {isCloud ? ( <> Email us at{" "} - + support@infisical.com diff --git a/backend/src/services/smtp/emails/UnlockAccountTemplate.tsx b/backend/src/services/smtp/emails/UnlockAccountTemplate.tsx index daeabf4fd..b0b4f2086 100644 --- a/backend/src/services/smtp/emails/UnlockAccountTemplate.tsx +++ b/backend/src/services/smtp/emails/UnlockAccountTemplate.tsx @@ -19,7 +19,7 @@ export const UnlockAccountTemplate = ({ token, siteUrl, callback_url }: UnlockAc Unlock your Infisical account
- + Your account has been temporarily locked due to multiple failed login attempts. If these attempts were not made by you, reset your password immediately. @@ -41,6 +41,5 @@ export default UnlockAccountTemplate; UnlockAccountTemplate.PreviewProps = { callback_url: "Example Project", siteUrl: "https://infisical.com", - url: "https://infisical.com", - token: "Example Token" + token: "preview-token" } as UnlockAccountTemplateProps; diff --git a/backend/src/services/smtp/emails/index.ts b/backend/src/services/smtp/emails/index.ts index 324f7063e..29738dbb2 100644 --- a/backend/src/services/smtp/emails/index.ts +++ b/backend/src/services/smtp/emails/index.ts @@ -9,7 +9,6 @@ export * from "./NewDeviceLoginTemplate"; export * from "./OrgAdminBreakglassAccessTemplate"; export * from "./OrgAdminProjectGrantAccessTemplate"; export * from "./OrganizationInvitationTemplate"; -export * from "./OrganizationInvitationTemplate"; export * from "./PasswordResetTemplate"; export * from "./PasswordSetupTemplate"; export * from "./PkiExpirationAlertTemplate"; diff --git a/backend/src/services/smtp/smtp-service.tsx b/backend/src/services/smtp/smtp-service.tsx index dd1755aaf..d3ab3ecda 100644 --- a/backend/src/services/smtp/smtp-service.tsx +++ b/backend/src/services/smtp/smtp-service.tsx @@ -1,5 +1,4 @@ import { render } from "@react-email/components"; -import handlebars from "handlebars"; import { createTransport } from "nodemailer"; import SMTPTransport from "nodemailer/lib/smtp-transport"; import React from "react"; @@ -80,7 +79,7 @@ export enum SmtpTemplates { export enum SmtpHost { Sendgrid = "smtp.sendgrid.net", Mailgun = "smtp.mailgun.org", - SocketLabs = "smtp.sockerlabs.com", + SocketLabs = "smtp.socketlabs.com", Zohomail = "smtp.zoho.com", Gmail = "smtp.gmail.com", Office365 = "smtp.office365.com" @@ -121,13 +120,6 @@ export const smtpServiceFactory = (cfg: TSmtpConfig) => { const smtp = createTransport(cfg); const isSmtpOn = Boolean(cfg.host); - handlebars.registerHelper("emailFooter", () => { - const { SITE_URL } = getConfig(); - return new handlebars.SafeString( - `

Email sent via Infisical at ${SITE_URL}

` - ); - }); - const sendMail = async ({ substitutions, recipients, template, subjectLine }: TSmtpSendMail) => { const appCfg = getConfig(); diff --git a/backend/src/services/smtp/templates/externalImportFailed.handlebars b/backend/src/services/smtp/templates/externalImportFailed.handlebars deleted file mode 100644 index 1755052c1..000000000 --- a/backend/src/services/smtp/templates/externalImportFailed.handlebars +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - Import failed - - - -

An import from {{provider}} to Infisical has failed

-

An import from - {{provider}} - to Infisical has failed due to unforeseen circumstances. Please re-try your import, and if the issue persists, you - can contact the Infisical team at team@infisical.com. -

- -

Error: {{error}}

- - {{emailFooter}} - - - \ No newline at end of file diff --git a/backend/src/services/smtp/templates/externalImportStarted.handlebars b/backend/src/services/smtp/templates/externalImportStarted.handlebars deleted file mode 100644 index 90026f762..000000000 --- a/backend/src/services/smtp/templates/externalImportStarted.handlebars +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - Import in progress - - - -

An import from {{provider}} to Infisical is in progress

-

An import from - {{provider}} - to Infisical is in progress. The import process may take up to 30 minutes, and you will receive once the import - has finished or if it fails.

- - {{emailFooter}} - - - \ No newline at end of file diff --git a/backend/src/services/smtp/templates/externalImportSuccessful.handlebars b/backend/src/services/smtp/templates/externalImportSuccessful.handlebars deleted file mode 100644 index a918e9ec7..000000000 --- a/backend/src/services/smtp/templates/externalImportSuccessful.handlebars +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - Import successful - - - -

An import from {{provider}} to Infisical was successful

-

An import from {{provider}} was successful. Your data is now available in Infisical.

- - {{emailFooter}} - - - \ No newline at end of file diff --git a/backend/tsconfig.json b/backend/tsconfig.json index 3d7813257..523e6de5b 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -26,7 +26,7 @@ "paths": { "@app/*": ["./src/*"] }, - "jsx": "react" + "jsx": "react-jsx" }, "include": ["src/**/*", "scripts/**/*", "e2e-test/**/*", "./.eslintrc.js", "./tsup.config.js"], "exclude": ["node_modules"]