Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Add support for Zoho email
Tuan Danga89fccdc1f0a
diff --git a/backend/package-lock.json b/backend/package-lock.jsonindex c6d225597e..cef7821171 100644--- a/backend/package-lock.json+++ b/backend/package-lock.json@@ -69,7 +69,7 @@"@types/supertest": "^2.0.12","@types/swagger-jsdoc": "^6.0.1","@types/swagger-ui-express": "^4.1.3",- "@typescript-eslint/eslint-plugin": "^5.40.1",+ "@typescript-eslint/eslint-plugin": "^5.54.0","@typescript-eslint/parser": "^5.40.1","cross-env": "^7.0.3","eslint": "^8.26.0",@@ -3243,14 +3243,14 @@"dev": true},"node_modules/@typescript-eslint/eslint-plugin": {- "version": "5.53.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.53.0.tgz",- "integrity": "sha512-alFpFWNucPLdUOySmXCJpzr6HKC3bu7XooShWM+3w/EL6J2HIoB2PFxpLnq4JauWVk6DiVeNKzQlFEaE+X9sGw==",+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.54.0.tgz",+ "integrity": "sha512-+hSN9BdSr629RF02d7mMtXhAJvDTyCbprNYJKrXETlul/Aml6YZwd90XioVbjejQeHbb3R8Dg0CkRgoJDxo8aw==","dev": true,"dependencies": {- "@typescript-eslint/scope-manager": "5.53.0",- "@typescript-eslint/type-utils": "5.53.0",- "@typescript-eslint/utils": "5.53.0",+ "@typescript-eslint/scope-manager": "5.54.0",+ "@typescript-eslint/type-utils": "5.54.0",+ "@typescript-eslint/utils": "5.54.0","debug": "^4.3.4","grapheme-splitter": "^1.0.4","ignore": "^5.2.0",@@ -3276,6 +3276,53 @@}}},+ "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.54.0.tgz",+ "integrity": "sha512-VTPYNZ7vaWtYna9M4oD42zENOBrb+ZYyCNdFs949GcN8Miwn37b8b7eMj+EZaq7VK9fx0Jd+JhmkhjFhvnovhg==",+ "dev": true,+ "dependencies": {+ "@typescript-eslint/types": "5.54.0",+ "@typescript-eslint/visitor-keys": "5.54.0"+ },+ "engines": {+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/typescript-eslint"+ }+ },+ "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.54.0.tgz",+ "integrity": "sha512-nExy+fDCBEgqblasfeE3aQ3NuafBUxZxgxXcYfzYRZFHdVvk5q60KhCSkG0noHgHRo/xQ/BOzURLZAafFpTkmQ==",+ "dev": true,+ "engines": {+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/typescript-eslint"+ }+ },+ "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.54.0.tgz",+ "integrity": "sha512-xu4wT7aRCakGINTLGeyGqDn+78BwFlggwBjnHa1ar/KaGagnmwLYmlrXIrgAaQ3AE1Vd6nLfKASm7LrFHNbKGA==",+ "dev": true,+ "dependencies": {+ "@typescript-eslint/types": "5.54.0",+ "eslint-visitor-keys": "^3.3.0"+ },+ "engines": {+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/typescript-eslint"+ }+ },"node_modules/@typescript-eslint/parser": {"version": "5.53.0","resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.53.0.tgz",@@ -3321,13 +3368,13 @@}},"node_modules/@typescript-eslint/type-utils": {- "version": "5.53.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.53.0.tgz",- "integrity": "sha512-HO2hh0fmtqNLzTAme/KnND5uFNwbsdYhCZghK2SoxGp3Ifn2emv+hi0PBUjzzSh0dstUIFqOj3bp0AwQlK4OWw==",+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.54.0.tgz",+ "integrity": "sha512-WI+WMJ8+oS+LyflqsD4nlXMsVdzTMYTxl16myXPaCXnSgc7LWwMsjxQFZCK/rVmTZ3FN71Ct78ehO9bRC7erYQ==","dev": true,"dependencies": {- "@typescript-eslint/typescript-estree": "5.53.0",- "@typescript-eslint/utils": "5.53.0",+ "@typescript-eslint/typescript-estree": "5.54.0",+ "@typescript-eslint/utils": "5.54.0","debug": "^4.3.4","tsutils": "^3.21.0"},@@ -3347,6 +3394,63 @@}}},+ "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.54.0.tgz",+ "integrity": "sha512-nExy+fDCBEgqblasfeE3aQ3NuafBUxZxgxXcYfzYRZFHdVvk5q60KhCSkG0noHgHRo/xQ/BOzURLZAafFpTkmQ==",+ "dev": true,+ "engines": {+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/typescript-eslint"+ }+ },+ "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.54.0.tgz",+ "integrity": "sha512-X2rJG97Wj/VRo5YxJ8Qx26Zqf0RRKsVHd4sav8NElhbZzhpBI8jU54i6hfo9eheumj4oO4dcRN1B/zIVEqR/MQ==",+ "dev": true,+ "dependencies": {+ "@typescript-eslint/types": "5.54.0",+ "@typescript-eslint/visitor-keys": "5.54.0",+ "debug": "^4.3.4",+ "globby": "^11.1.0",+ "is-glob": "^4.0.3",+ "semver": "^7.3.7",+ "tsutils": "^3.21.0"+ },+ "engines": {+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/typescript-eslint"+ },+ "peerDependenciesMeta": {+ "typescript": {+ "optional": true+ }+ }+ },+ "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.54.0.tgz",+ "integrity": "sha512-xu4wT7aRCakGINTLGeyGqDn+78BwFlggwBjnHa1ar/KaGagnmwLYmlrXIrgAaQ3AE1Vd6nLfKASm7LrFHNbKGA==",+ "dev": true,+ "dependencies": {+ "@typescript-eslint/types": "5.54.0",+ "eslint-visitor-keys": "^3.3.0"+ },+ "engines": {+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/typescript-eslint"+ }+ },"node_modules/@typescript-eslint/types": {"version": "5.53.0","resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.53.0.tgz",@@ -3388,16 +3492,16 @@}},"node_modules/@typescript-eslint/utils": {- "version": "5.53.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.53.0.tgz",- "integrity": "sha512-VUOOtPv27UNWLxFwQK/8+7kvxVC+hPHNsJjzlJyotlaHjLSIgOCKj9I0DBUjwOOA64qjBwx5afAPjksqOxMO0g==",+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.54.0.tgz",+ "integrity": "sha512-cuwm8D/Z/7AuyAeJ+T0r4WZmlnlxQ8wt7C7fLpFlKMR+dY6QO79Cq1WpJhvZbMA4ZeZGHiRWnht7ZJ8qkdAunw==","dev": true,"dependencies": {"@types/json-schema": "^7.0.9","@types/semver": "^7.3.12",- "@typescript-eslint/scope-manager": "5.53.0",- "@typescript-eslint/types": "5.53.0",- "@typescript-eslint/typescript-estree": "5.53.0",+ "@typescript-eslint/scope-manager": "5.54.0",+ "@typescript-eslint/types": "5.54.0",+ "@typescript-eslint/typescript-estree": "5.54.0","eslint-scope": "^5.1.1","eslint-utils": "^3.0.0","semver": "^7.3.7"@@ -3413,6 +3517,80 @@"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"}},+ "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/scope-manager": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.54.0.tgz",+ "integrity": "sha512-VTPYNZ7vaWtYna9M4oD42zENOBrb+ZYyCNdFs949GcN8Miwn37b8b7eMj+EZaq7VK9fx0Jd+JhmkhjFhvnovhg==",+ "dev": true,+ "dependencies": {+ "@typescript-eslint/types": "5.54.0",+ "@typescript-eslint/visitor-keys": "5.54.0"+ },+ "engines": {+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/typescript-eslint"+ }+ },+ "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/types": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.54.0.tgz",+ "integrity": "sha512-nExy+fDCBEgqblasfeE3aQ3NuafBUxZxgxXcYfzYRZFHdVvk5q60KhCSkG0noHgHRo/xQ/BOzURLZAafFpTkmQ==",+ "dev": true,+ "engines": {+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/typescript-eslint"+ }+ },+ "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.54.0.tgz",+ "integrity": "sha512-X2rJG97Wj/VRo5YxJ8Qx26Zqf0RRKsVHd4sav8NElhbZzhpBI8jU54i6hfo9eheumj4oO4dcRN1B/zIVEqR/MQ==",+ "dev": true,+ "dependencies": {+ "@typescript-eslint/types": "5.54.0",+ "@typescript-eslint/visitor-keys": "5.54.0",+ "debug": "^4.3.4",+ "globby": "^11.1.0",+ "is-glob": "^4.0.3",+ "semver": "^7.3.7",+ "tsutils": "^3.21.0"+ },+ "engines": {+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/typescript-eslint"+ },+ "peerDependenciesMeta": {+ "typescript": {+ "optional": true+ }+ }+ },+ "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/visitor-keys": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.54.0.tgz",+ "integrity": "sha512-xu4wT7aRCakGINTLGeyGqDn+78BwFlggwBjnHa1ar/KaGagnmwLYmlrXIrgAaQ3AE1Vd6nLfKASm7LrFHNbKGA==",+ "dev": true,+ "dependencies": {+ "@typescript-eslint/types": "5.54.0",+ "eslint-visitor-keys": "^3.3.0"+ },+ "engines": {+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/typescript-eslint"+ }+ },"node_modules/@typescript-eslint/visitor-keys": {"version": "5.53.0","resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.53.0.tgz",@@ -14610,14 +14788,14 @@"dev": true},"@typescript-eslint/eslint-plugin": {- "version": "5.53.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.53.0.tgz",- "integrity": "sha512-alFpFWNucPLdUOySmXCJpzr6HKC3bu7XooShWM+3w/EL6J2HIoB2PFxpLnq4JauWVk6DiVeNKzQlFEaE+X9sGw==",+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.54.0.tgz",+ "integrity": "sha512-+hSN9BdSr629RF02d7mMtXhAJvDTyCbprNYJKrXETlul/Aml6YZwd90XioVbjejQeHbb3R8Dg0CkRgoJDxo8aw==","dev": true,"requires": {- "@typescript-eslint/scope-manager": "5.53.0",- "@typescript-eslint/type-utils": "5.53.0",- "@typescript-eslint/utils": "5.53.0",+ "@typescript-eslint/scope-manager": "5.54.0",+ "@typescript-eslint/type-utils": "5.54.0",+ "@typescript-eslint/utils": "5.54.0","debug": "^4.3.4","grapheme-splitter": "^1.0.4","ignore": "^5.2.0",@@ -14625,6 +14803,34 @@"regexpp": "^3.2.0","semver": "^7.3.7","tsutils": "^3.21.0"+ },+ "dependencies": {+ "@typescript-eslint/scope-manager": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.54.0.tgz",+ "integrity": "sha512-VTPYNZ7vaWtYna9M4oD42zENOBrb+ZYyCNdFs949GcN8Miwn37b8b7eMj+EZaq7VK9fx0Jd+JhmkhjFhvnovhg==",+ "dev": true,+ "requires": {+ "@typescript-eslint/types": "5.54.0",+ "@typescript-eslint/visitor-keys": "5.54.0"+ }+ },+ "@typescript-eslint/types": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.54.0.tgz",+ "integrity": "sha512-nExy+fDCBEgqblasfeE3aQ3NuafBUxZxgxXcYfzYRZFHdVvk5q60KhCSkG0noHgHRo/xQ/BOzURLZAafFpTkmQ==",+ "dev": true+ },+ "@typescript-eslint/visitor-keys": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.54.0.tgz",+ "integrity": "sha512-xu4wT7aRCakGINTLGeyGqDn+78BwFlggwBjnHa1ar/KaGagnmwLYmlrXIrgAaQ3AE1Vd6nLfKASm7LrFHNbKGA==",+ "dev": true,+ "requires": {+ "@typescript-eslint/types": "5.54.0",+ "eslint-visitor-keys": "^3.3.0"+ }+ }}},"@typescript-eslint/parser": {@@ -14650,15 +14856,48 @@}},"@typescript-eslint/type-utils": {- "version": "5.53.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.53.0.tgz",- "integrity": "sha512-HO2hh0fmtqNLzTAme/KnND5uFNwbsdYhCZghK2SoxGp3Ifn2emv+hi0PBUjzzSh0dstUIFqOj3bp0AwQlK4OWw==",+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.54.0.tgz",+ "integrity": "sha512-WI+WMJ8+oS+LyflqsD4nlXMsVdzTMYTxl16myXPaCXnSgc7LWwMsjxQFZCK/rVmTZ3FN71Ct78ehO9bRC7erYQ==","dev": true,"requires": {- "@typescript-eslint/typescript-estree": "5.53.0",- "@typescript-eslint/utils": "5.53.0",+ "@typescript-eslint/typescript-estree": "5.54.0",+ "@typescript-eslint/utils": "5.54.0","debug": "^4.3.4","tsutils": "^3.21.0"+ },+ "dependencies": {+ "@typescript-eslint/types": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.54.0.tgz",+ "integrity": "sha512-nExy+fDCBEgqblasfeE3aQ3NuafBUxZxgxXcYfzYRZFHdVvk5q60KhCSkG0noHgHRo/xQ/BOzURLZAafFpTkmQ==",+ "dev": true+ },+ "@typescript-eslint/typescript-estree": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.54.0.tgz",+ "integrity": "sha512-X2rJG97Wj/VRo5YxJ8Qx26Zqf0RRKsVHd4sav8NElhbZzhpBI8jU54i6hfo9eheumj4oO4dcRN1B/zIVEqR/MQ==",+ "dev": true,+ "requires": {+ "@typescript-eslint/types": "5.54.0",+ "@typescript-eslint/visitor-keys": "5.54.0",+ "debug": "^4.3.4",+ "globby": "^11.1.0",+ "is-glob": "^4.0.3",+ "semver": "^7.3.7",+ "tsutils": "^3.21.0"+ }+ },+ "@typescript-eslint/visitor-keys": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.54.0.tgz",+ "integrity": "sha512-xu4wT7aRCakGINTLGeyGqDn+78BwFlggwBjnHa1ar/KaGagnmwLYmlrXIrgAaQ3AE1Vd6nLfKASm7LrFHNbKGA==",+ "dev": true,+ "requires": {+ "@typescript-eslint/types": "5.54.0",+ "eslint-visitor-keys": "^3.3.0"+ }+ }}},"@typescript-eslint/types": {@@ -14683,19 +14922,62 @@}},"@typescript-eslint/utils": {- "version": "5.53.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.53.0.tgz",- "integrity": "sha512-VUOOtPv27UNWLxFwQK/8+7kvxVC+hPHNsJjzlJyotlaHjLSIgOCKj9I0DBUjwOOA64qjBwx5afAPjksqOxMO0g==",+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.54.0.tgz",+ "integrity": "sha512-cuwm8D/Z/7AuyAeJ+T0r4WZmlnlxQ8wt7C7fLpFlKMR+dY6QO79Cq1WpJhvZbMA4ZeZGHiRWnht7ZJ8qkdAunw==","dev": true,"requires": {"@types/json-schema": "^7.0.9","@types/semver": "^7.3.12",- "@typescript-eslint/scope-manager": "5.53.0",- "@typescript-eslint/types": "5.53.0",- "@typescript-eslint/typescript-estree": "5.53.0",+ "@typescript-eslint/scope-manager": "5.54.0",+ "@typescript-eslint/types": "5.54.0",+ "@typescript-eslint/typescript-estree": "5.54.0","eslint-scope": "^5.1.1","eslint-utils": "^3.0.0","semver": "^7.3.7"+ },+ "dependencies": {+ "@typescript-eslint/scope-manager": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.54.0.tgz",+ "integrity": "sha512-VTPYNZ7vaWtYna9M4oD42zENOBrb+ZYyCNdFs949GcN8Miwn37b8b7eMj+EZaq7VK9fx0Jd+JhmkhjFhvnovhg==",+ "dev": true,+ "requires": {+ "@typescript-eslint/types": "5.54.0",+ "@typescript-eslint/visitor-keys": "5.54.0"+ }+ },+ "@typescript-eslint/types": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.54.0.tgz",+ "integrity": "sha512-nExy+fDCBEgqblasfeE3aQ3NuafBUxZxgxXcYfzYRZFHdVvk5q60KhCSkG0noHgHRo/xQ/BOzURLZAafFpTkmQ==",+ "dev": true+ },+ "@typescript-eslint/typescript-estree": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.54.0.tgz",+ "integrity": "sha512-X2rJG97Wj/VRo5YxJ8Qx26Zqf0RRKsVHd4sav8NElhbZzhpBI8jU54i6hfo9eheumj4oO4dcRN1B/zIVEqR/MQ==",+ "dev": true,+ "requires": {+ "@typescript-eslint/types": "5.54.0",+ "@typescript-eslint/visitor-keys": "5.54.0",+ "debug": "^4.3.4",+ "globby": "^11.1.0",+ "is-glob": "^4.0.3",+ "semver": "^7.3.7",+ "tsutils": "^3.21.0"+ }+ },+ "@typescript-eslint/visitor-keys": {+ "version": "5.54.0",+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.54.0.tgz",+ "integrity": "sha512-xu4wT7aRCakGINTLGeyGqDn+78BwFlggwBjnHa1ar/KaGagnmwLYmlrXIrgAaQ3AE1Vd6nLfKASm7LrFHNbKGA==",+ "dev": true,+ "requires": {+ "@typescript-eslint/types": "5.54.0",+ "eslint-visitor-keys": "^3.3.0"+ }+ }}},"@typescript-eslint/visitor-keys": {diff --git a/backend/package.json b/backend/package.jsonindex 795fc68ed9..90db51ece4 100644--- a/backend/package.json+++ b/backend/package.json@@ -87,7 +87,7 @@"@types/supertest": "^2.0.12","@types/swagger-jsdoc": "^6.0.1","@types/swagger-ui-express": "^4.1.3",- "@typescript-eslint/eslint-plugin": "^5.40.1",+ "@typescript-eslint/eslint-plugin": "^5.54.0","@typescript-eslint/parser": "^5.40.1","cross-env": "^7.0.3","eslint": "^8.26.0",diff --git a/backend/src/services/smtp.ts b/backend/src/services/smtp.tsindex 8debfdb6fe..1bf8095938 100644--- a/backend/src/services/smtp.ts+++ b/backend/src/services/smtp.ts@@ -1,9 +1,16 @@import nodemailer from 'nodemailer';-import { SMTP_HOST, SMTP_PORT, SMTP_USERNAME, SMTP_PASSWORD, SMTP_SECURE } from '../config';+import {+ SMTP_HOST,+ SMTP_PORT,+ SMTP_USERNAME,+ SMTP_PASSWORD,+ SMTP_SECURE+} from '../config';import {SMTP_HOST_SENDGRID,SMTP_HOST_MAILGUN,- SMTP_HOST_SOCKETLABS+ SMTP_HOST_SOCKETLABS,+ SMTP_HOST_ZOHOMAIL} from '../variables';import SMTPConnection from 'nodemailer/lib/smtp-connection';import * as Sentry from '@sentry/node';@@ -37,6 +44,12 @@ if (SMTP_SECURE) {ciphers: 'TLSv1.2'}break;+ case SMTP_HOST_ZOHOMAIL:+ mailOpts.requireTLS = true;+ mailOpts.tls = {+ ciphers: 'TLSv1.2'+ }+ break;default:if (SMTP_HOST.includes('amazonaws.com')) {mailOpts.tls = {diff --git a/backend/src/variables/index.ts b/backend/src/variables/index.tsindex 2be3949717..48bc9ef642 100644--- a/backend/src/variables/index.ts+++ b/backend/src/variables/index.ts@@ -47,7 +47,8 @@ import {import {SMTP_HOST_SENDGRID,SMTP_HOST_MAILGUN,- SMTP_HOST_SOCKETLABS+ SMTP_HOST_SOCKETLABS,+ SMTP_HOST_ZOHOMAIL} from './smtp';import { PLAN_STARTER, PLAN_PRO } from './stripe';import {@@ -110,6 +111,7 @@ export {SMTP_HOST_SENDGRID,SMTP_HOST_MAILGUN,SMTP_HOST_SOCKETLABS,+ SMTP_HOST_ZOHOMAIL,PLAN_STARTER,PLAN_PRO,MFA_METHOD_EMAIL,diff --git a/backend/src/variables/smtp.ts b/backend/src/variables/smtp.tsindex c807ddf05f..a88f229bd8 100644--- a/backend/src/variables/smtp.ts+++ b/backend/src/variables/smtp.ts@@ -1,9 +1,11 @@const SMTP_HOST_SENDGRID = 'smtp.sendgrid.net';const SMTP_HOST_MAILGUN = 'smtp.mailgun.org';const SMTP_HOST_SOCKETLABS = 'smtp.socketlabs.com';+const SMTP_HOST_ZOHOMAIL = 'smtp.zoho.com';export {SMTP_HOST_SENDGRID,SMTP_HOST_MAILGUN,- SMTP_HOST_SOCKETLABS+ SMTP_HOST_SOCKETLABS,+ SMTP_HOST_ZOHOMAIL}\ No newline at end of filediff --git a/docs/self-hosting/configuration/email.mdx b/docs/self-hosting/configuration/email.mdxindex 85c3325ef0..b35666776f 100644--- a/docs/self-hosting/configuration/email.mdx+++ b/docs/self-hosting/configuration/email.mdx@@ -134,4 +134,33 @@ SMTP_FROM_NAME=InfisicalRemember that you will need to restart Infisical for this to work properly.</Info></Accordion>++<Accordion title="Zoho Mail">++1. Create an account and configure [Zoho Mail](https://www.zoho.com/mail/) to send emails.++2. With your email credentials, you can now set up your SMTP environment variables:++```+SMTP_HOST=smtp.zoho.com+SMTP_USERNAME=username # your email+SMTP_PASSWORD=password # your password+SMTP_PORT=587+SMTP_SECURE=true[email protected] # your personal Zoho email or domain-based email linked to Zoho Mail+SMTP_FROM_NAME=Infisical+```++<Note>+ You can use either your personal Zoho email address like `[email protected]` or+ a domain-based email address like `[email protected]`. If using a+ domain-based email address, then please make sure that you've configured and+ verified it with Zoho Mail.+</Note>++<Info>+ Remember that you will need to restart Infisical for this to work properly.+</Info>+</Accordion>+</AccordionGroup>