emailengine-app 2.82.0 → 2.82.2
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 +51 -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 +263 -84
- package/lib/email-client/outlook-fallback-poll.js +30 -0
- 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/outlook-subscription-view.js +36 -0
- package/lib/ui-routes/route-helpers.js +25 -37
- 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 +14 -6
- 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/server.js
CHANGED
|
@@ -223,6 +223,9 @@ config.dbs.redis = readEnvValue('EENGINE_REDIS') || readEnvValue('REDIS_URL') ||
|
|
|
223
223
|
config.workers.imap = getWorkerCount(readEnvValue('EENGINE_WORKERS') || config.workers.imap) || 4;
|
|
224
224
|
config.workers.webhooks = Number(readEnvValue('EENGINE_WORKERS_WEBHOOKS')) || config.workers.webhooks || 1;
|
|
225
225
|
config.workers.submit = Number(readEnvValue('EENGINE_WORKERS_SUBMIT')) || config.workers.submit || 1;
|
|
226
|
+
// The Workers page has labelled this row EENGINE_WORKERS_EXPORT since the export worker shipped, while
|
|
227
|
+
// only --workers.export and [workers] export were read, so an operator who set it saw no effect
|
|
228
|
+
config.workers.export = Number(readEnvValue('EENGINE_WORKERS_EXPORT')) || config.workers.export || 1;
|
|
226
229
|
// API worker count. Values >1 require SO_REUSEPORT (Linux); on unsupported platforms it falls back to 1 at startup.
|
|
227
230
|
// Uses getWorkerCount() for parity with EENGINE_WORKERS (supports "cpus"); Math.floor avoids a fractional
|
|
228
231
|
// count over-spawning, Math.max keeps at least one API worker.
|
|
@@ -353,7 +356,7 @@ const THREAD_CONFIG_VALUES = {
|
|
|
353
356
|
api: { key: 'EENGINE_WORKERS_API', value: config.workers.api },
|
|
354
357
|
submit: { key: 'EENGINE_WORKERS_SUBMIT', value: config.workers.submit },
|
|
355
358
|
webhooks: { key: 'EENGINE_WORKERS_WEBHOOKS', value: config.workers.webhooks },
|
|
356
|
-
export: { key: 'EENGINE_WORKERS_EXPORT', value: config.workers.export
|
|
359
|
+
export: { key: 'EENGINE_WORKERS_EXPORT', value: config.workers.export }
|
|
357
360
|
};
|
|
358
361
|
|
|
359
362
|
// Queue event handlers for different job queues
|
|
@@ -585,6 +588,18 @@ const metrics = {
|
|
|
585
588
|
labelNames: ['status', 'provider', 'statusCode']
|
|
586
589
|
}),
|
|
587
590
|
|
|
591
|
+
outlookMissedRecovery: new promClient.Counter({
|
|
592
|
+
name: 'outlook_missed_recovery',
|
|
593
|
+
help: 'MS Graph missed-notification recovery passes, by what asked for them and whether they found unannounced messages',
|
|
594
|
+
labelNames: ['reason', 'outcome']
|
|
595
|
+
}),
|
|
596
|
+
|
|
597
|
+
outlookMissedRecoveredMessages: new promClient.Counter({
|
|
598
|
+
name: 'outlook_missed_recovered_messages',
|
|
599
|
+
help: 'New messages announced by MS Graph missed-notification recovery instead of by a change notification',
|
|
600
|
+
labelNames: ['reason']
|
|
601
|
+
}),
|
|
602
|
+
|
|
588
603
|
outlookSubscriptions: new promClient.Gauge({
|
|
589
604
|
name: 'outlook_subscriptions',
|
|
590
605
|
help: 'MS Graph webhook subscription states',
|
|
@@ -2127,7 +2142,10 @@ let licenseCheckHandler = async opts => {
|
|
|
2127
2142
|
|
|
2128
2143
|
// Handle no active license - suspend workers
|
|
2129
2144
|
if (!licenseInfo.active && !suspendedWorkerTypes.size) {
|
|
2130
|
-
|
|
2145
|
+
// Said in the present tense, because that is what the loop below does. The line used to
|
|
2146
|
+
// promise a 15 minute grace period that nothing anywhere implements, so an operator
|
|
2147
|
+
// reading it waited for a window that had already closed.
|
|
2148
|
+
logger.info({ msg: 'No active license. Suspending every worker except the API server.' });
|
|
2131
2149
|
|
|
2132
2150
|
// Suspend all worker types except API
|
|
2133
2151
|
for (let type of ['imap', 'submit', 'smtp', 'webhooks', 'imapProxy']) {
|
|
@@ -3597,7 +3615,7 @@ const startApplication = async () => {
|
|
|
3597
3615
|
}
|
|
3598
3616
|
|
|
3599
3617
|
// Start export workers
|
|
3600
|
-
for (let i = 0; i <
|
|
3618
|
+
for (let i = 0; i < config.workers.export; i++) {
|
|
3601
3619
|
await spawnWorker('export');
|
|
3602
3620
|
}
|
|
3603
3621
|
|
package/setup-production.sh
CHANGED
|
@@ -40,7 +40,16 @@ if ! command -v docker &> /dev/null; then
|
|
|
40
40
|
exit 1
|
|
41
41
|
fi
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
# Docker Compose ships either as the `docker compose` plugin - every current Docker Desktop and
|
|
44
|
+
# Docker Engine install - or as the standalone `docker-compose` binary. Resolved into one variable
|
|
45
|
+
# here and used everywhere below: the check accepted either form while the start step ran the binary,
|
|
46
|
+
# so a host carrying only the plugin passed this script's own prerequisite check and then failed to
|
|
47
|
+
# start anything.
|
|
48
|
+
if docker compose version &> /dev/null; then
|
|
49
|
+
COMPOSE="docker compose"
|
|
50
|
+
elif command -v docker-compose &> /dev/null; then
|
|
51
|
+
COMPOSE="docker-compose"
|
|
52
|
+
else
|
|
44
53
|
print_message $RED "Error: Docker Compose is not installed"
|
|
45
54
|
exit 1
|
|
46
55
|
fi
|
|
@@ -117,7 +126,7 @@ EENGINE_SETTINGS={"smtpServerEnabled": true, "smtpServerPort": 2525, "smtpServer
|
|
|
117
126
|
# ===========================================
|
|
118
127
|
|
|
119
128
|
# Redis is used as a database - no memory limit, no eviction
|
|
120
|
-
# Monitor usage with:
|
|
129
|
+
# Monitor usage with: ${COMPOSE} exec redis redis-cli INFO memory
|
|
121
130
|
REDIS_LOG_LEVEL=notice
|
|
122
131
|
|
|
123
132
|
# ===========================================
|
|
@@ -176,14 +185,14 @@ read -p "Would you like to start EmailEngine now? (y/N): " -n 1 -r
|
|
|
176
185
|
echo
|
|
177
186
|
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
|
178
187
|
print_message $YELLOW "Starting EmailEngine services..."
|
|
179
|
-
|
|
180
|
-
|
|
188
|
+
$COMPOSE pull
|
|
189
|
+
$COMPOSE up -d
|
|
181
190
|
|
|
182
191
|
# Wait for services to start
|
|
183
192
|
sleep 5
|
|
184
193
|
|
|
185
194
|
# Check status
|
|
186
|
-
if
|
|
195
|
+
if $COMPOSE ps | grep -q "Up"; then
|
|
187
196
|
print_message $GREEN "✓ EmailEngine is running!"
|
|
188
197
|
echo
|
|
189
198
|
print_message $GREEN "Access the web interface at: http://localhost:3000"
|
|
@@ -195,11 +204,11 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
|
|
|
195
204
|
echo "Password: (not set - you'll be prompted to create one on first login)"
|
|
196
205
|
else
|
|
197
206
|
print_message $RED "Warning: Some services may not have started correctly"
|
|
198
|
-
print_message $YELLOW "Check logs with:
|
|
207
|
+
print_message $YELLOW "Check logs with: $COMPOSE logs"
|
|
199
208
|
fi
|
|
200
209
|
else
|
|
201
210
|
print_message $YELLOW "To start EmailEngine later, run:"
|
|
202
|
-
echo "
|
|
211
|
+
echo "$COMPOSE up -d"
|
|
203
212
|
fi
|
|
204
213
|
|
|
205
214
|
echo
|
package/static/licenses.html
CHANGED
|
@@ -29,7 +29,7 @@ pre { background: var(--bg); border-radius: 0.5rem; padding: 1rem; overflow-x: a
|
|
|
29
29
|
</head>
|
|
30
30
|
<body>
|
|
31
31
|
<main>
|
|
32
|
-
<h1>EmailEngine v2.
|
|
32
|
+
<h1>EmailEngine v2.82.0</h1>
|
|
33
33
|
<p class="intro">EmailEngine includes code from the following open source packages. Entries marked <em>asset</em> are build-time packages whose output is embedded in the UI assets, or bundled fonts and scripts.</p>
|
|
34
34
|
<ul>
|
|
35
35
|
<li class="package">
|
|
@@ -126,7 +126,7 @@ OTHER DEALINGS IN THE SOFTWARE.</pre></details>
|
|
|
126
126
|
<li class="package">
|
|
127
127
|
<div class="head">
|
|
128
128
|
<span class="name">@bull-board/api</span>
|
|
129
|
-
<span class="version">9.10.
|
|
129
|
+
<span class="version">9.10.4</span>
|
|
130
130
|
<span class="badge">MIT</span>
|
|
131
131
|
<span class="badge badge-runtime">runtime</span>
|
|
132
132
|
<span class="links"><a href="https://npmjs.com/package/@bull-board/api" rel="noopener noreferrer">npm</a> <a href="https://github.com/felixmosh/bull-board" rel="noopener noreferrer">website</a></span>
|
|
@@ -136,7 +136,7 @@ OTHER DEALINGS IN THE SOFTWARE.</pre></details>
|
|
|
136
136
|
<li class="package">
|
|
137
137
|
<div class="head">
|
|
138
138
|
<span class="name">@bull-board/hapi</span>
|
|
139
|
-
<span class="version">9.10.
|
|
139
|
+
<span class="version">9.10.4</span>
|
|
140
140
|
<span class="badge">MIT</span>
|
|
141
141
|
<span class="badge badge-runtime">runtime</span>
|
|
142
142
|
<span class="links"><a href="https://npmjs.com/package/@bull-board/hapi" rel="noopener noreferrer">npm</a> <a href="https://github.com/felixmosh/bull-board" rel="noopener noreferrer">website</a></span>
|
|
@@ -146,7 +146,7 @@ OTHER DEALINGS IN THE SOFTWARE.</pre></details>
|
|
|
146
146
|
<li class="package">
|
|
147
147
|
<div class="head">
|
|
148
148
|
<span class="name">@bull-board/ui</span>
|
|
149
|
-
<span class="version">9.10.
|
|
149
|
+
<span class="version">9.10.4</span>
|
|
150
150
|
<span class="badge">MIT</span>
|
|
151
151
|
<span class="badge badge-runtime">runtime</span>
|
|
152
152
|
<span class="links"><a href="https://npmjs.com/package/@bull-board/ui" rel="noopener noreferrer">npm</a> <a href="https://github.com/felixmosh/bull-board" rel="noopener noreferrer">website</a></span>
|
|
@@ -1689,7 +1689,7 @@ SOFTWARE.</pre></details>
|
|
|
1689
1689
|
<li class="package">
|
|
1690
1690
|
<div class="head">
|
|
1691
1691
|
<span class="name">@postalsys/email-ai-tools</span>
|
|
1692
|
-
<span class="version">2.2.
|
|
1692
|
+
<span class="version">2.2.1</span>
|
|
1693
1693
|
<span class="badge">MIT</span>
|
|
1694
1694
|
<span class="badge badge-runtime">runtime</span>
|
|
1695
1695
|
<span class="links"><a href="https://npmjs.com/package/@postalsys/email-ai-tools" rel="noopener noreferrer">npm</a> <a href="https://github.com/postalsys/email-ai-tools#readme" rel="noopener noreferrer">website</a></span>
|
|
@@ -1719,7 +1719,7 @@ SOFTWARE.</pre></details>
|
|
|
1719
1719
|
<li class="package">
|
|
1720
1720
|
<div class="head">
|
|
1721
1721
|
<span class="name">@postalsys/email-content</span>
|
|
1722
|
-
<span class="version">0.1.
|
|
1722
|
+
<span class="version">0.1.11</span>
|
|
1723
1723
|
<span class="badge">MIT</span>
|
|
1724
1724
|
<span class="badge badge-runtime">runtime</span>
|
|
1725
1725
|
<span class="links"><a href="https://npmjs.com/package/@postalsys/email-content" rel="noopener noreferrer">npm</a> <a href="https://github.com/postalsys/email-content#readme" rel="noopener noreferrer">website</a></span>
|
|
@@ -1864,7 +1864,7 @@ SOFTWARE.</pre></details>
|
|
|
1864
1864
|
<li class="package">
|
|
1865
1865
|
<div class="head">
|
|
1866
1866
|
<span class="name">@sentry/core</span>
|
|
1867
|
-
<span class="version">10.
|
|
1867
|
+
<span class="version">10.76.0</span>
|
|
1868
1868
|
<span class="badge">MIT</span>
|
|
1869
1869
|
<span class="badge badge-runtime">runtime</span>
|
|
1870
1870
|
<span class="links"><a href="https://npmjs.com/package/@sentry/core" rel="noopener noreferrer">npm</a> <a href="https://github.com/getsentry/sentry-javascript/tree/master/packages/core" rel="noopener noreferrer">website</a></span>
|
|
@@ -1894,7 +1894,7 @@ SOFTWARE.</pre></details>
|
|
|
1894
1894
|
<li class="package">
|
|
1895
1895
|
<div class="head">
|
|
1896
1896
|
<span class="name">@sentry/node-core</span>
|
|
1897
|
-
<span class="version">10.
|
|
1897
|
+
<span class="version">10.76.0</span>
|
|
1898
1898
|
<span class="badge">MIT</span>
|
|
1899
1899
|
<span class="badge badge-runtime">runtime</span>
|
|
1900
1900
|
<span class="links"><a href="https://npmjs.com/package/@sentry/node-core" rel="noopener noreferrer">npm</a> <a href="https://github.com/getsentry/sentry-javascript/tree/master/packages/node-core" rel="noopener noreferrer">website</a></span>
|
|
@@ -1924,7 +1924,7 @@ SOFTWARE.</pre></details>
|
|
|
1924
1924
|
<li class="package">
|
|
1925
1925
|
<div class="head">
|
|
1926
1926
|
<span class="name">@sentry/opentelemetry</span>
|
|
1927
|
-
<span class="version">10.
|
|
1927
|
+
<span class="version">10.76.0</span>
|
|
1928
1928
|
<span class="badge">MIT</span>
|
|
1929
1929
|
<span class="badge badge-runtime">runtime</span>
|
|
1930
1930
|
<span class="links"><a href="https://npmjs.com/package/@sentry/opentelemetry" rel="noopener noreferrer">npm</a> <a href="https://github.com/getsentry/sentry-javascript/tree/master/packages/opentelemetry" rel="noopener noreferrer">website</a></span>
|
|
@@ -2059,7 +2059,7 @@ SOFTWARE.</pre></details>
|
|
|
2059
2059
|
<li class="package">
|
|
2060
2060
|
<div class="head">
|
|
2061
2061
|
<span class="name">@zone-eu/mailsplit</span>
|
|
2062
|
-
<span class="version">5.4.
|
|
2062
|
+
<span class="version">5.4.20</span>
|
|
2063
2063
|
<span class="badge">(MIT OR EUPL-1.1+)</span>
|
|
2064
2064
|
<span class="badge badge-runtime">runtime</span>
|
|
2065
2065
|
<span class="links"><a href="https://npmjs.com/package/@zone-eu/mailsplit" rel="noopener noreferrer">npm</a> <a href="https://github.com/zone-eu/mailsplit" rel="noopener noreferrer">website</a></span>
|
|
@@ -2723,7 +2723,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</pre></details>
|
|
|
2723
2723
|
<li class="package">
|
|
2724
2724
|
<div class="head">
|
|
2725
2725
|
<span class="name">cjs-module-lexer</span>
|
|
2726
|
-
<span class="version">2.
|
|
2726
|
+
<span class="version">2.3.0</span>
|
|
2727
2727
|
<span class="badge">MIT</span>
|
|
2728
2728
|
<span class="badge badge-runtime">runtime</span>
|
|
2729
2729
|
<span class="links"><a href="https://npmjs.com/package/cjs-module-lexer" rel="noopener noreferrer">npm</a> <a href="https://github.com/nodejs/cjs-module-lexer#readme" rel="noopener noreferrer">website</a></span>
|
|
@@ -3773,7 +3773,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</pre>
|
|
|
3773
3773
|
<li class="package">
|
|
3774
3774
|
<div class="head">
|
|
3775
3775
|
<span class="name">es-module-lexer</span>
|
|
3776
|
-
<span class="version">3.0.
|
|
3776
|
+
<span class="version">3.0.3</span>
|
|
3777
3777
|
<span class="badge">MIT</span>
|
|
3778
3778
|
<span class="badge badge-runtime">runtime</span>
|
|
3779
3779
|
<span class="links"><a href="https://npmjs.com/package/es-module-lexer" rel="noopener noreferrer">npm</a> <a href="https://github.com/guybedford/es-module-lexer#readme" rel="noopener noreferrer">website</a></span>
|
|
@@ -4932,7 +4932,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS&
|
|
|
4932
4932
|
<li class="package">
|
|
4933
4933
|
<div class="head">
|
|
4934
4934
|
<span class="name">imapflow</span>
|
|
4935
|
-
<span class="version">2.2.
|
|
4935
|
+
<span class="version">2.2.5</span>
|
|
4936
4936
|
<span class="badge">MIT</span>
|
|
4937
4937
|
<span class="badge badge-runtime">runtime</span>
|
|
4938
4938
|
<span class="links"><a href="https://npmjs.com/package/imapflow" rel="noopener noreferrer">npm</a> <a href="https://imapflow.com/" rel="noopener noreferrer">website</a></span>
|
|
@@ -5027,7 +5027,7 @@ SOFTWARE.</pre></details>
|
|
|
5027
5027
|
<li class="package">
|
|
5028
5028
|
<div class="head">
|
|
5029
5029
|
<span class="name">ip-address</span>
|
|
5030
|
-
<span class="version">10.7.
|
|
5030
|
+
<span class="version">10.7.3</span>
|
|
5031
5031
|
<span class="badge">MIT</span>
|
|
5032
5032
|
<span class="badge badge-runtime">runtime</span>
|
|
5033
5033
|
<span class="links"><a href="https://npmjs.com/package/ip-address" rel="noopener noreferrer">npm</a> <a href="https://github.com/beaugunderson/ip-address" rel="noopener noreferrer">website</a></span>
|
|
@@ -5234,7 +5234,7 @@ SOFTWARE.</pre></details>
|
|
|
5234
5234
|
<li class="package">
|
|
5235
5235
|
<div class="head">
|
|
5236
5236
|
<span class="name">libbase64</span>
|
|
5237
|
-
<span class="version">1.3.
|
|
5237
|
+
<span class="version">1.3.2</span>
|
|
5238
5238
|
<span class="badge">MIT</span>
|
|
5239
5239
|
<span class="badge badge-runtime">runtime</span>
|
|
5240
5240
|
<span class="links"><a href="https://npmjs.com/package/libbase64" rel="noopener noreferrer">npm</a> <a href="https://github.com/nodemailer/libbase64" rel="noopener noreferrer">website</a></span>
|
|
@@ -5262,7 +5262,7 @@ THE SOFTWARE.</pre></details>
|
|
|
5262
5262
|
<li class="package">
|
|
5263
5263
|
<div class="head">
|
|
5264
5264
|
<span class="name">libmime</span>
|
|
5265
|
-
<span class="version">5.4.
|
|
5265
|
+
<span class="version">5.4.7</span>
|
|
5266
5266
|
<span class="badge">MIT</span>
|
|
5267
5267
|
<span class="badge badge-runtime">runtime</span>
|
|
5268
5268
|
<span class="links"><a href="https://npmjs.com/package/libmime" rel="noopener noreferrer">npm</a> <a href="https://github.com/nodemailer/libmime" rel="noopener noreferrer">website</a></span>
|
|
@@ -5509,7 +5509,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRES
|
|
|
5509
5509
|
<li class="package">
|
|
5510
5510
|
<div class="head">
|
|
5511
5511
|
<span class="name">mailparser</span>
|
|
5512
|
-
<span class="version">3.9.
|
|
5512
|
+
<span class="version">3.9.36</span>
|
|
5513
5513
|
<span class="badge">MIT</span>
|
|
5514
5514
|
<span class="badge badge-runtime">runtime</span>
|
|
5515
5515
|
<span class="links"><a href="https://npmjs.com/package/mailparser" rel="noopener noreferrer">npm</a> <a href="https://github.com/nodemailer/mailparser" rel="noopener noreferrer">website</a></span>
|
|
@@ -5972,7 +5972,7 @@ SOFTWARE.</pre></details>
|
|
|
5972
5972
|
<li class="package">
|
|
5973
5973
|
<div class="head">
|
|
5974
5974
|
<span class="name">nanoid</span>
|
|
5975
|
-
<span class="version">3.3.
|
|
5975
|
+
<span class="version">3.3.20</span>
|
|
5976
5976
|
<span class="badge">MIT</span>
|
|
5977
5977
|
<span class="badge badge-runtime">runtime</span>
|
|
5978
5978
|
<span class="links"><a href="https://npmjs.com/package/nanoid" rel="noopener noreferrer">npm</a></span>
|
|
@@ -6108,7 +6108,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRES
|
|
|
6108
6108
|
<li class="package">
|
|
6109
6109
|
<div class="head">
|
|
6110
6110
|
<span class="name">nodemailer</span>
|
|
6111
|
-
<span class="version">10.0.
|
|
6111
|
+
<span class="version">10.0.15</span>
|
|
6112
6112
|
<span class="badge">MIT-0</span>
|
|
6113
6113
|
<span class="badge badge-runtime">runtime</span>
|
|
6114
6114
|
<span class="links"><a href="https://npmjs.com/package/nodemailer" rel="noopener noreferrer">npm</a> <a href="https://nodemailer.com/" rel="noopener noreferrer">website</a></span>
|
|
@@ -6132,6 +6132,16 @@ SOFTWARE.</pre></details>
|
|
|
6132
6132
|
</li>
|
|
6133
6133
|
<li class="package">
|
|
6134
6134
|
<div class="head">
|
|
6135
|
+
<span class="name">nodemailer</span>
|
|
6136
|
+
<span class="version">10.0.14</span>
|
|
6137
|
+
<span class="badge">MIT-0</span>
|
|
6138
|
+
<span class="badge badge-runtime">runtime</span>
|
|
6139
|
+
<span class="links"><a href="https://npmjs.com/package/nodemailer" rel="noopener noreferrer">npm</a> <a href="https://nodemailer.com/" rel="noopener noreferrer">website</a></span>
|
|
6140
|
+
</div>
|
|
6141
|
+
<p class="no-text">Same license text as <a href="#lic-144">nodemailer</a>.</p>
|
|
6142
|
+
</li>
|
|
6143
|
+
<li class="package">
|
|
6144
|
+
<div class="head">
|
|
6135
6145
|
<span class="name">nth-check</span>
|
|
6136
6146
|
<span class="version">2.1.1</span>
|
|
6137
6147
|
<span class="badge">BSD-2-Clause</span>
|
|
@@ -7338,7 +7348,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</pre>
|
|
|
7338
7348
|
<li class="package">
|
|
7339
7349
|
<div class="head">
|
|
7340
7350
|
<span class="name">smtp-server</span>
|
|
7341
|
-
<span class="version">3.19.
|
|
7351
|
+
<span class="version">3.19.17</span>
|
|
7342
7352
|
<span class="badge">MIT-0</span>
|
|
7343
7353
|
<span class="badge badge-runtime">runtime</span>
|
|
7344
7354
|
<span class="links"><a href="https://npmjs.com/package/smtp-server" rel="noopener noreferrer">npm</a> <a href="https://github.com/nodemailer/smtp-server" rel="noopener noreferrer">website</a></span>
|
|
@@ -1,10 +1,37 @@
|
|
|
1
1
|
msgid ""
|
|
2
2
|
msgstr ""
|
|
3
3
|
"Content-Type: text/plain; charset=ascii\n"
|
|
4
|
-
"POT-Creation-Date: 2026-10-
|
|
4
|
+
"POT-Creation-Date: 2026-10-05 12:02+0000\n"
|
|
5
|
+
|
|
6
|
+
#: views/account-workspace-error.hbs:7
|
|
7
|
+
msgid "Work Account Required"
|
|
8
|
+
msgstr ""
|
|
9
|
+
|
|
10
|
+
#: views/account-workspace-error.hbs:12
|
|
11
|
+
msgid ""
|
|
12
|
+
"This setup accepts only a Google Workspace account, and a personal Google "
|
|
13
|
+
"account was used."
|
|
14
|
+
msgstr ""
|
|
15
|
+
|
|
16
|
+
#: views/account-workspace-error.hbs:17
|
|
17
|
+
#: views/account-identity-error.hbs:21
|
|
18
|
+
msgid "Account used"
|
|
19
|
+
msgstr ""
|
|
20
|
+
|
|
21
|
+
#: views/account-workspace-error.hbs:23
|
|
22
|
+
msgid ""
|
|
23
|
+
"Try again and sign in with your work or school account. If you believe this "
|
|
24
|
+
"is a mistake, contact the service that sent you this link."
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
27
|
+
#: views/account-workspace-error.hbs:28
|
|
28
|
+
#: views/oauth-scope-error.hbs:28
|
|
29
|
+
#: views/account-identity-error.hbs:32
|
|
30
|
+
msgid "Try Again"
|
|
31
|
+
msgstr ""
|
|
5
32
|
|
|
6
33
|
#: views/error.hbs:6
|
|
7
|
-
#: workers/api.js:
|
|
34
|
+
#: workers/api.js:3175
|
|
8
35
|
msgid "Something went wrong"
|
|
9
36
|
msgstr ""
|
|
10
37
|
|
|
@@ -21,7 +48,7 @@ msgid "Dashboard"
|
|
|
21
48
|
msgstr ""
|
|
22
49
|
|
|
23
50
|
#: views/config/license.hbs:20
|
|
24
|
-
#: lib/ui-routes/oauth-config-routes.js:
|
|
51
|
+
#: lib/ui-routes/oauth-config-routes.js:283
|
|
25
52
|
msgid "%d day"
|
|
26
53
|
msgid_plural "%d days"
|
|
27
54
|
msgstr[0] ""
|
|
@@ -53,11 +80,6 @@ msgid ""
|
|
|
53
80
|
"the Google consent screen."
|
|
54
81
|
msgstr ""
|
|
55
82
|
|
|
56
|
-
#: views/oauth-scope-error.hbs:28
|
|
57
|
-
#: views/account-identity-error.hbs:32
|
|
58
|
-
msgid "Try Again"
|
|
59
|
-
msgstr ""
|
|
60
|
-
|
|
61
83
|
#: views/redirect.hbs:1
|
|
62
84
|
msgid "Click <a href=\"%s\">here</a> to continue…"
|
|
63
85
|
msgstr ""
|
|
@@ -327,17 +349,13 @@ msgstr ""
|
|
|
327
349
|
msgid "Expected account"
|
|
328
350
|
msgstr ""
|
|
329
351
|
|
|
330
|
-
#: views/account-identity-error.hbs:21
|
|
331
|
-
msgid "Account used"
|
|
332
|
-
msgstr ""
|
|
333
|
-
|
|
334
352
|
#: views/account-identity-error.hbs:27
|
|
335
353
|
msgid ""
|
|
336
354
|
"Try again and use the expected account. If you believe this is a mistake, "
|
|
337
355
|
"contact the service that sent you this link."
|
|
338
356
|
msgstr ""
|
|
339
357
|
|
|
340
|
-
#: lib/autodetect-imap-settings.js:
|
|
358
|
+
#: lib/autodetect-imap-settings.js:160
|
|
341
359
|
msgid ""
|
|
342
360
|
"Microsoft has disabled password-based sign-ins (including app passwords) "
|
|
343
361
|
"for Outlook.com, Hotmail.com, and Microsoft 365 email accounts. To "
|
|
@@ -358,88 +376,88 @@ msgstr ""
|
|
|
358
376
|
#: lib/tools.js:2513
|
|
359
377
|
#: lib/tools.js:2519
|
|
360
378
|
#: lib/tools.js:2524
|
|
361
|
-
#: lib/ui-routes/account-routes.js:
|
|
379
|
+
#: lib/ui-routes/account-routes.js:1324
|
|
362
380
|
msgid "Invalid or expired account setup URL"
|
|
363
381
|
msgstr ""
|
|
364
382
|
|
|
365
|
-
#: lib/ui-routes/account-routes.js:
|
|
366
|
-
#: lib/ui-routes/account-routes.js:
|
|
367
|
-
#: lib/ui-routes/account-routes.js:
|
|
368
|
-
#: lib/ui-routes/account-routes.js:
|
|
369
|
-
#: lib/ui-routes/account-routes.js:
|
|
370
|
-
#: lib/ui-routes/account-routes.js:
|
|
371
|
-
#: lib/ui-routes/account-routes.js:
|
|
372
|
-
#: lib/ui-routes/account-routes.js:
|
|
373
|
-
#: lib/ui-routes/route-helpers.js:
|
|
374
|
-
#: workers/api.js:
|
|
375
|
-
#: workers/api.js:
|
|
383
|
+
#: lib/ui-routes/account-routes.js:483
|
|
384
|
+
#: lib/ui-routes/account-routes.js:527
|
|
385
|
+
#: lib/ui-routes/account-routes.js:847
|
|
386
|
+
#: lib/ui-routes/account-routes.js:924
|
|
387
|
+
#: lib/ui-routes/account-routes.js:937
|
|
388
|
+
#: lib/ui-routes/account-routes.js:984
|
|
389
|
+
#: lib/ui-routes/account-routes.js:1200
|
|
390
|
+
#: lib/ui-routes/account-routes.js:1391
|
|
391
|
+
#: lib/ui-routes/route-helpers.js:362
|
|
392
|
+
#: workers/api.js:2305
|
|
393
|
+
#: workers/api.js:2380
|
|
376
394
|
msgid "Email Account Setup"
|
|
377
395
|
msgstr ""
|
|
378
396
|
|
|
379
|
-
#: lib/ui-routes/account-routes.js:
|
|
380
|
-
#: lib/ui-routes/account-routes.js:
|
|
397
|
+
#: lib/ui-routes/account-routes.js:552
|
|
398
|
+
#: lib/ui-routes/account-routes.js:584
|
|
381
399
|
#: lib/ui-routes/unsubscribe-routes.js:71
|
|
382
400
|
msgid "Invalid request. Check your input and try again."
|
|
383
401
|
msgstr ""
|
|
384
402
|
|
|
385
|
-
#: lib/ui-routes/account-routes.js:
|
|
403
|
+
#: lib/ui-routes/account-routes.js:728
|
|
386
404
|
msgid "Too many attempts for this setup link. Request a new setup link to continue."
|
|
387
405
|
msgstr ""
|
|
388
406
|
|
|
389
|
-
#: lib/ui-routes/account-routes.js:
|
|
390
|
-
#: lib/ui-routes/account-routes.js:
|
|
407
|
+
#: lib/ui-routes/account-routes.js:971
|
|
408
|
+
#: lib/ui-routes/account-routes.js:1374
|
|
391
409
|
msgid "Couldn't set up account. Try again."
|
|
392
410
|
msgstr ""
|
|
393
411
|
|
|
394
|
-
#: lib/ui-routes/account-routes.js:
|
|
395
|
-
#: lib/ui-routes/account-routes.js:
|
|
412
|
+
#: lib/ui-routes/account-routes.js:1059
|
|
413
|
+
#: lib/ui-routes/account-routes.js:1099
|
|
396
414
|
#: lib/ui-routes/admin-entities-routes.js:1941
|
|
397
415
|
msgid "Server hostname was not found"
|
|
398
416
|
msgstr ""
|
|
399
417
|
|
|
400
|
-
#: lib/ui-routes/account-routes.js:
|
|
401
|
-
#: lib/ui-routes/account-routes.js:
|
|
418
|
+
#: lib/ui-routes/account-routes.js:1062
|
|
419
|
+
#: lib/ui-routes/account-routes.js:1102
|
|
402
420
|
#: lib/ui-routes/admin-entities-routes.js:1944
|
|
403
421
|
msgid "Invalid username or password"
|
|
404
422
|
msgstr ""
|
|
405
423
|
|
|
406
|
-
#: lib/ui-routes/account-routes.js:
|
|
407
|
-
#: lib/ui-routes/account-routes.js:
|
|
424
|
+
#: lib/ui-routes/account-routes.js:1067
|
|
425
|
+
#: lib/ui-routes/account-routes.js:1119
|
|
408
426
|
#: lib/ui-routes/admin-entities-routes.js:1961
|
|
409
427
|
msgid "Connection timed out"
|
|
410
428
|
msgstr ""
|
|
411
429
|
|
|
412
|
-
#: lib/ui-routes/account-routes.js:
|
|
413
|
-
#: lib/ui-routes/account-routes.js:
|
|
430
|
+
#: lib/ui-routes/account-routes.js:1073
|
|
431
|
+
#: lib/ui-routes/account-routes.js:1122
|
|
414
432
|
#: lib/ui-routes/admin-entities-routes.js:1964
|
|
415
433
|
msgid "Could not connect to server"
|
|
416
434
|
msgstr ""
|
|
417
435
|
|
|
418
|
-
#: lib/ui-routes/account-routes.js:
|
|
419
|
-
#: lib/ui-routes/account-routes.js:
|
|
420
|
-
#: lib/ui-routes/account-routes.js:
|
|
421
|
-
#: lib/ui-routes/account-routes.js:
|
|
436
|
+
#: lib/ui-routes/account-routes.js:1086
|
|
437
|
+
#: lib/ui-routes/account-routes.js:1090
|
|
438
|
+
#: lib/ui-routes/account-routes.js:1111
|
|
439
|
+
#: lib/ui-routes/account-routes.js:1115
|
|
422
440
|
#: lib/ui-routes/admin-entities-routes.js:1953
|
|
423
441
|
#: lib/ui-routes/admin-entities-routes.js:1957
|
|
424
442
|
msgid "TLS protocol error"
|
|
425
443
|
msgstr ""
|
|
426
444
|
|
|
427
|
-
#: lib/ui-routes/account-routes.js:
|
|
445
|
+
#: lib/ui-routes/account-routes.js:1105
|
|
428
446
|
#: lib/ui-routes/admin-entities-routes.js:1947
|
|
429
447
|
msgid "Authentication credentials were not provided"
|
|
430
448
|
msgstr ""
|
|
431
449
|
|
|
432
|
-
#: lib/ui-routes/account-routes.js:
|
|
450
|
+
#: lib/ui-routes/account-routes.js:1108
|
|
433
451
|
#: lib/ui-routes/admin-entities-routes.js:1950
|
|
434
452
|
msgid "OAuth2 authentication failed"
|
|
435
453
|
msgstr ""
|
|
436
454
|
|
|
437
|
-
#: lib/ui-routes/account-routes.js:
|
|
455
|
+
#: lib/ui-routes/account-routes.js:1125
|
|
438
456
|
#: lib/ui-routes/admin-entities-routes.js:1967
|
|
439
457
|
msgid "Unexpected server response"
|
|
440
458
|
msgstr ""
|
|
441
459
|
|
|
442
|
-
#: lib/ui-routes/account-routes.js:
|
|
460
|
+
#: lib/ui-routes/account-routes.js:1312
|
|
443
461
|
msgid "Temporary error, please try again"
|
|
444
462
|
msgstr ""
|
|
445
463
|
|
|
@@ -447,11 +465,11 @@ msgstr ""
|
|
|
447
465
|
msgid "Invalid API key for OpenAI"
|
|
448
466
|
msgstr ""
|
|
449
467
|
|
|
450
|
-
#: lib/ui-routes/oauth-config-routes.js:
|
|
468
|
+
#: lib/ui-routes/oauth-config-routes.js:276
|
|
451
469
|
msgid "Unknown"
|
|
452
470
|
msgstr ""
|
|
453
471
|
|
|
454
|
-
#: lib/ui-routes/oauth-config-routes.js:
|
|
472
|
+
#: lib/ui-routes/oauth-config-routes.js:285
|
|
455
473
|
msgid "Indefinite"
|
|
456
474
|
msgstr ""
|
|
457
475
|
|
|
@@ -497,37 +515,37 @@ msgstr ""
|
|
|
497
515
|
msgid "Couldn't process request. Try again."
|
|
498
516
|
msgstr ""
|
|
499
517
|
|
|
500
|
-
#: workers/api.js:
|
|
518
|
+
#: workers/api.js:2234
|
|
501
519
|
msgid ""
|
|
502
520
|
"The sign-in was cancelled or the requested access was not granted. Open the "
|
|
503
521
|
"account setup link again to retry."
|
|
504
522
|
msgstr ""
|
|
505
523
|
|
|
506
|
-
#: workers/api.js:
|
|
524
|
+
#: workers/api.js:2243
|
|
507
525
|
msgid "Sign-in with the email provider failed: %s"
|
|
508
526
|
msgstr ""
|
|
509
527
|
|
|
510
|
-
#: workers/api.js:
|
|
528
|
+
#: workers/api.js:2247
|
|
511
529
|
msgid "Sign-in with the email provider failed: no authorization code was received"
|
|
512
530
|
msgstr ""
|
|
513
531
|
|
|
514
|
-
#: workers/api.js:
|
|
532
|
+
#: workers/api.js:2253
|
|
515
533
|
msgid "Sign-in with the email provider failed: the request state is not valid"
|
|
516
534
|
msgstr ""
|
|
517
535
|
|
|
518
|
-
#: workers/api.js:
|
|
536
|
+
#: workers/api.js:2259
|
|
519
537
|
msgid ""
|
|
520
538
|
"The account setup session has expired or was already used. Open the account "
|
|
521
539
|
"setup link again to retry."
|
|
522
540
|
msgstr ""
|
|
523
541
|
|
|
524
|
-
#: workers/api.js:
|
|
542
|
+
#: workers/api.js:2266
|
|
525
543
|
msgid ""
|
|
526
544
|
"Sign-in with the email provider failed: the stored setup session is not "
|
|
527
545
|
"valid"
|
|
528
546
|
msgstr ""
|
|
529
547
|
|
|
530
|
-
#: workers/api.js:
|
|
531
|
-
#: workers/api.js:
|
|
548
|
+
#: workers/api.js:3174
|
|
549
|
+
#: workers/api.js:3289
|
|
532
550
|
msgid "Requested page not found"
|
|
533
551
|
msgstr ""
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{{!-- Shown when the OAuth2 application is set to "Accept only Google Workspace accounts" and the account
|
|
2
|
+
that signed in is a personal one; offers a link to restart the setup. Sibling of
|
|
3
|
+
account-identity-error.hbs and oauth-scope-error.hbs - the user made a correctable choice, so the flow
|
|
4
|
+
stops here with a way back rather than bouncing them to the calling application. --}}
|
|
5
|
+
|
|
6
|
+
<div class="ee-center">
|
|
7
|
+
<h1>{{_ "Work Account Required" templateLocale}}</h1>
|
|
8
|
+
</div>
|
|
9
|
+
|
|
10
|
+
<div class="ee-alert ee-alert-error">
|
|
11
|
+
<span class="ee-icon ee-icon-alert-triangle ee-icon-lg"></span>
|
|
12
|
+
<span>{{_ "This setup accepts only a Google Workspace account, and a personal Google account was used." templateLocale}}</span>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
{{#if actualEmail}}
|
|
16
|
+
<dl class="ee-dl">
|
|
17
|
+
<dt>{{_ "Account used" templateLocale}}</dt>
|
|
18
|
+
<dd>{{actualEmail}}</dd>
|
|
19
|
+
</dl>
|
|
20
|
+
{{/if}}
|
|
21
|
+
|
|
22
|
+
<p class="ee-muted">
|
|
23
|
+
{{_ "Try again and sign in with your work or school account. If you believe this is a mistake, contact the service that sent you this link." templateLocale}}
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
<div class="ee-form-actions">
|
|
27
|
+
<a href="{{retryUrl}}" class="ee-btn ee-btn-primary ee-btn-block">
|
|
28
|
+
<span class="ee-icon ee-icon-refresh"></span>{{_ "Try Again" templateLocale}}
|
|
29
|
+
</a>
|
|
30
|
+
</div>
|
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
<dd>
|
|
352
352
|
|
|
353
353
|
{{#*inline "outlookWatchBadge"}}
|
|
354
|
-
<span class="badge badge-{{
|
|
354
|
+
<span class="badge badge-{{account.outlookSubscription.variant}}">
|
|
355
355
|
{{account.outlookSubscription.stateLabel}}
|
|
356
356
|
</span>
|
|
357
357
|
{{/inline}}
|
|
@@ -368,8 +368,11 @@
|
|
|
368
368
|
{{/if}}
|
|
369
369
|
|
|
370
370
|
{{#if account.outlookSubscription.state.error}}
|
|
371
|
-
<div class="alert alert-soft alert-
|
|
371
|
+
<div class="alert alert-soft alert-{{account.outlookSubscription.variant}}">
|
|
372
372
|
{{account.outlookSubscription.state.error}}
|
|
373
|
+
{{#if account.outlookSubscription.polling}}
|
|
374
|
+
<p class="mt-1">New messages are still found by a periodic check, but changes to and deletions of existing messages are not reported until a subscription can be created.</p>
|
|
375
|
+
{{/if}}
|
|
373
376
|
|
|
374
377
|
{{#if account.outlookSubscription.state.time}}
|
|
375
378
|
<small>(last checked <span class="local-date-time"
|
|
@@ -484,10 +487,15 @@
|
|
|
484
487
|
<dd>{{account.imap.resyncDelay}}</dd>
|
|
485
488
|
{{/if}}
|
|
486
489
|
|
|
487
|
-
{{
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
{{
|
|
490
|
+
{{!-- The special-use folder overrides, from the same list the edit form renders, and each
|
|
491
|
+
shown only where one is set: EmailEngine detects these folders from the server's own flags,
|
|
492
|
+
so an absent row means it detected the folder rather than that there is none. --}}
|
|
493
|
+
{{#each specialUsePathFields}}
|
|
494
|
+
{{#with (lookup ../account.imap this.key)}}
|
|
495
|
+
<dt>{{../this.label}} folder</dt>
|
|
496
|
+
<dd>{{this}}</dd>
|
|
497
|
+
{{/with}}
|
|
498
|
+
{{/each}}
|
|
491
499
|
|
|
492
500
|
{{#if account.path}}
|
|
493
501
|
<dt>Syncing paths
|