emailengine-app 2.82.0 → 2.82.1
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.
- package/.ncurc.js +23 -1
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +44 -0
- package/DOCKER_DEPLOYMENT.md +13 -12
- package/bin/emailengine.js +77 -7
- package/data/google-crawlers.json +1 -1
- package/lib/account.js +35 -10
- package/lib/api-routes/account-binding.js +58 -0
- package/lib/api-routes/account-routes.js +48 -9
- package/lib/api-routes/behavior-notes.js +4 -0
- package/lib/api-routes/gateway-routes.js +10 -2
- package/lib/api-routes/message-routes.js +10 -3
- package/lib/api-routes/outbox-routes.js +1 -1
- package/lib/api-routes/settings-routes.js +1 -2
- package/lib/api-routes/token-routes.js +1 -1
- package/lib/autodetect-imap-settings.js +146 -4
- package/lib/consts.js +12 -0
- package/lib/db.js +1 -19
- package/lib/delivery-error.js +68 -1
- package/lib/email-client/base-client.js +6 -13
- package/lib/email-client/credential-errors.js +21 -5
- package/lib/email-client/gmail-client.js +2 -2
- package/lib/email-client/imap-client.js +2 -1
- package/lib/email-client/message-builder.js +41 -11
- package/lib/email-client/outlook-client.js +196 -67
- package/lib/enum-descriptions.js +5 -1
- package/lib/export.js +8 -2
- package/lib/gateway.js +5 -0
- package/lib/get-secret.js +1 -21
- package/lib/mcp/tools.js +95 -36
- package/lib/oauth/gmail.js +42 -12
- package/lib/oauth/mail-ru.js +24 -17
- package/lib/oauth/outlook.js +34 -24
- package/lib/oauth/scope-checker.js +35 -1
- package/lib/oauth/scope-list.js +55 -0
- package/lib/oauth/token-fetch.js +47 -0
- package/lib/oauth2-apps.js +16 -47
- package/lib/outbox.js +2 -7
- package/lib/queue-retention.js +4 -2
- package/lib/read-env-value.js +33 -2
- package/lib/schemas.js +62 -15
- package/lib/token-audit-log.js +3 -2
- package/lib/tools.js +1 -1
- package/lib/ui-routes/account-routes.js +40 -7
- package/lib/ui-routes/oauth-config-routes.js +3 -14
- package/lib/ui-routes/route-helpers.js +23 -23
- package/lib/ui-routes/special-use-paths.js +33 -0
- package/lib/utils/network.js +9 -17
- package/package.json +18 -18
- package/sbom.json +1 -1
- package/server.js +21 -3
- package/setup-production.sh +16 -7
- package/static/licenses.html +30 -20
- package/translations/messages.pot +74 -56
- package/views/account-workspace-error.hbs +30 -0
- package/views/accounts/account.hbs +9 -4
- package/views/accounts/edit.hbs +11 -2
- package/views/internals/index.hbs +1 -1
- package/views/partials/gmail_api_scopes.hbs +16 -0
- package/views/partials/oauth_form.hbs +67 -94
- package/views/partials/oauth_pubsub_app_select.hbs +43 -0
- package/views/partials/scope_info.hbs +14 -23
- package/workers/api.js +62 -27
- package/workers/imap.js +6 -3
- package/workers/submit.js +2 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "emailengine-app",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"productTitle": "EmailEngine",
|
|
6
6
|
"description": "Email Sync Engine",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"build-dist": "pkg --compress Brotli package.json && npm install && node winconf.js",
|
|
27
27
|
"build-dist-fast": "pkg --debug package.json && npm install && node winconf.js",
|
|
28
28
|
"licenses": "node list-generate.js",
|
|
29
|
-
"gettext": "find ./views -name \"*.hbs\" -print0 | xargs -0 xgettext-template -L Handlebars -o translations/messages.pot
|
|
29
|
+
"gettext": "find ./views -name \"*.hbs\" -print0 | xargs -0 xgettext-template -L Handlebars --force-po -o - > translations/messages.pot.tmp && mv translations/messages.pot.tmp translations/messages.pot && node gettext-extract.js",
|
|
30
30
|
"update": "rm -rf node_modules package-lock.json && ncu -u && npm install && ./copy-static-files.sh && npm run licenses && npm run gettext",
|
|
31
31
|
"test-gmail-api": "node lib/email-client/gmail-client.js --dbs.redis=redis://127.0.0.1/11",
|
|
32
32
|
"format": "prettier --write 'lib/**/*.js' 'workers/**/*.js' 'test/**/*.js' '*.js'",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
},
|
|
52
52
|
"homepage": "https://emailengine.app/",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@bull-board/api": "9.10.
|
|
55
|
-
"@bull-board/hapi": "9.10.
|
|
54
|
+
"@bull-board/api": "9.10.4",
|
|
55
|
+
"@bull-board/hapi": "9.10.4",
|
|
56
56
|
"@hapi/accept": "6.0.3",
|
|
57
57
|
"@hapi/bell": "13.2.0",
|
|
58
58
|
"@hapi/boom": "10.0.1",
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
"@msgpack/msgpack": "3.1.3",
|
|
65
65
|
"@postalsys/bounce-classifier": "3.0.1",
|
|
66
66
|
"@postalsys/certs": "1.4.4",
|
|
67
|
-
"@postalsys/email-ai-tools": "2.2.
|
|
68
|
-
"@postalsys/email-content": "0.1.
|
|
67
|
+
"@postalsys/email-ai-tools": "2.2.1",
|
|
68
|
+
"@postalsys/email-content": "0.1.11",
|
|
69
69
|
"@postalsys/email-text-tools": "2.4.18",
|
|
70
70
|
"@postalsys/gettext": "4.1.1",
|
|
71
71
|
"@postalsys/joi-messages": "1.3.1",
|
|
72
72
|
"@postalsys/templates": "2.0.3",
|
|
73
|
-
"@sentry/node-core": "10.
|
|
73
|
+
"@sentry/node-core": "10.76.0",
|
|
74
74
|
"@simplewebauthn/server": "14.0.3",
|
|
75
|
-
"@zone-eu/mailsplit": "5.4.
|
|
75
|
+
"@zone-eu/mailsplit": "5.4.20",
|
|
76
76
|
"@zone-eu/wild-config": "1.7.7",
|
|
77
77
|
"bullmq": "6.3.11",
|
|
78
78
|
"compare-versions": "6.1.1",
|
|
@@ -87,27 +87,27 @@
|
|
|
87
87
|
"html-to-text": "10.0.1",
|
|
88
88
|
"ical.js": "2.2.1",
|
|
89
89
|
"iconv-lite": "0.7.3",
|
|
90
|
-
"imapflow": "2.2.
|
|
90
|
+
"imapflow": "2.2.5",
|
|
91
91
|
"ioredfour": "1.4.4",
|
|
92
92
|
"ioredis": "6.0.0",
|
|
93
93
|
"ipaddr.js": "2.5.0",
|
|
94
94
|
"joi": "18.2.9",
|
|
95
|
-
"libbase64": "1.3.
|
|
96
|
-
"libmime": "5.4.
|
|
95
|
+
"libbase64": "1.3.2",
|
|
96
|
+
"libmime": "5.4.7",
|
|
97
97
|
"libqp": "2.1.2",
|
|
98
|
-
"mailparser": "3.9.
|
|
98
|
+
"mailparser": "3.9.36",
|
|
99
99
|
"marked": "15.0.12",
|
|
100
100
|
"minimist": "1.2.8",
|
|
101
101
|
"murmurhash": "2.0.1",
|
|
102
|
-
"nanoid": "3.3.
|
|
103
|
-
"nodemailer": "10.0.
|
|
102
|
+
"nanoid": "3.3.20",
|
|
103
|
+
"nodemailer": "10.0.15",
|
|
104
104
|
"pino": "10.3.1",
|
|
105
105
|
"prom-client": "15.1.3",
|
|
106
106
|
"psl": "1.15.0",
|
|
107
107
|
"pubface": "1.1.18",
|
|
108
108
|
"punycode.js": "2.3.1",
|
|
109
109
|
"qrcode-generator": "2.0.4",
|
|
110
|
-
"smtp-server": "3.19.
|
|
110
|
+
"smtp-server": "3.19.17",
|
|
111
111
|
"socks": "2.8.10",
|
|
112
112
|
"timezones-list": "3.1.0",
|
|
113
113
|
"undici": "7.30.0"
|
|
@@ -125,13 +125,13 @@
|
|
|
125
125
|
"acorn-walk": "8.3.5",
|
|
126
126
|
"chai": "4.5.0",
|
|
127
127
|
"eerawlog": "1.5.5",
|
|
128
|
-
"eslint": "10.
|
|
128
|
+
"eslint": "10.12.0",
|
|
129
129
|
"flyonui": "2.4.1",
|
|
130
|
-
"pino-pretty": "13.
|
|
130
|
+
"pino-pretty": "13.2.0",
|
|
131
131
|
"prettier": "3.9.9",
|
|
132
132
|
"resedit": "3.1.0",
|
|
133
133
|
"spdx-satisfies": "6.0.0",
|
|
134
|
-
"supertest": "7.3.
|
|
134
|
+
"supertest": "7.3.1",
|
|
135
135
|
"tailwindcss": "4.3.3",
|
|
136
136
|
"xgettext-template": "5.0.0"
|
|
137
137
|
},
|