emailengine-app 2.86.0 → 2.87.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 +2 -4
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +42 -0
- package/DOCKER_DEPLOYMENT.md +2 -1
- package/Dockerfile +5 -6
- package/README.md +4 -0
- package/bin/emailengine.js +2 -4
- package/bin/healthcheck.js +20 -0
- package/data/google-crawlers.json +1 -1
- package/data/public_suffix_list.dat +3 -7
- package/lib/account/auth-failure-backfill.js +3 -2
- package/lib/account/expected-identity.js +2 -2
- package/lib/account.js +101 -39
- package/lib/api-listener.js +40 -0
- package/lib/api-routes/account-routes.js +14 -7
- package/lib/api-routes/submit-routes.js +21 -2
- package/lib/api-token-auth.js +406 -0
- package/lib/autodetect-imap-settings.js +36 -3
- package/lib/consts.js +5 -0
- package/lib/email-client/base-client.js +27 -109
- package/lib/email-client/gmail-client.js +15 -4
- package/lib/email-client/imap/mailbox.js +97 -97
- package/lib/email-client/imap/sync-operations.js +13 -6
- package/lib/email-client/imap-client.js +28 -7
- package/lib/email-client/new-message-steps.js +162 -0
- package/lib/email-client/outlook-client.js +10 -2
- package/lib/env-setting-overrides.js +6 -2
- package/lib/export-worker.js +3 -2
- package/lib/export.js +43 -4
- package/lib/field-usage.js +1 -1
- package/lib/get-boolean.js +38 -0
- package/lib/get-raw-email.js +10 -1
- package/lib/health-probe.js +71 -0
- package/lib/imapproxy/imap-server.js +4 -55
- package/lib/net-tos-guard.js +42 -0
- package/lib/oauth/gmail.js +54 -29
- package/lib/oauth2-apps.js +2 -1
- package/lib/otp.js +66 -0
- package/lib/read-env-value.js +19 -7
- package/lib/redis-keys.js +19 -0
- package/lib/redis-operations.js +7 -3
- package/lib/schemas.js +62 -2
- package/lib/security-headers.js +18 -0
- package/lib/session-default.js +50 -0
- package/lib/settings.js +2 -1
- package/lib/stream-encrypt.js +71 -20
- package/lib/sub-script.js +8 -2
- package/lib/submit-lock.js +84 -0
- package/lib/submit-processor.js +283 -0
- package/lib/swagger-options.js +2 -2
- package/lib/templates.js +6 -3
- package/lib/tls/context.js +2 -16
- package/lib/tools.js +8 -30
- package/lib/utils/redis-errors.js +44 -0
- package/lib/webhook-delivery.js +3 -4
- package/lib/webhooks.js +5 -0
- package/lib/worker-rpc-error.js +10 -5
- package/lib/worker-rpc.js +138 -0
- package/package.json +25 -26
- package/sbom.json +660 -1736
- package/server.js +6 -5
- package/static/css/flyonui.css +2 -2
- package/static/js/ee-client.js +650 -196
- package/static/licenses.html +280 -1393
- package/translations/messages.pot +16 -16
- package/views/layout/app.hbs +9 -6
- package/views/legal.hbs +8 -0
- package/workers/api.js +51 -474
- package/workers/export.js +14 -55
- package/workers/imap-proxy.js +5 -18
- package/workers/imap.js +27 -49
- package/workers/smtp.js +7 -69
- package/workers/submit.js +21 -279
- package/workers/webhooks.js +7 -72
package/lib/tools.js
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
+
// Before anything that makes an HTTP request, see the module
|
|
6
|
+
require('./net-tos-guard');
|
|
7
|
+
const { accountDataKey } = require('./redis-keys');
|
|
5
8
|
const { filterEmptyObjectValues } = require('./utils/filter-empty');
|
|
6
9
|
|
|
7
10
|
const msgpack = require('./msgpack');
|
|
@@ -71,7 +74,8 @@ const tls = require('tls');
|
|
|
71
74
|
const net = require('net');
|
|
72
75
|
const { SocksClient } = require('socks');
|
|
73
76
|
const { createWebhookLookup, WEBHOOK_EGRESS_POLICY } = require('./webhook-egress');
|
|
74
|
-
const { readEnvValue } = require('./read-env-value');
|
|
77
|
+
const { readEnvValue, hasEnvValue } = require('./read-env-value');
|
|
78
|
+
const { getBoolean } = require('./get-boolean');
|
|
75
79
|
|
|
76
80
|
const AGENT_OPTS = {
|
|
77
81
|
strictContentLength: false,
|
|
@@ -1587,31 +1591,7 @@ module.exports = {
|
|
|
1587
1591
|
return scoredAddresses[0].address;
|
|
1588
1592
|
},
|
|
1589
1593
|
|
|
1590
|
-
getBoolean
|
|
1591
|
-
if (typeof value === 'boolean') {
|
|
1592
|
-
return value;
|
|
1593
|
-
}
|
|
1594
|
-
|
|
1595
|
-
if (typeof value === 'string') {
|
|
1596
|
-
value = value.trim();
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
|
-
if (typeof value === 'string' && !isNaN(value) && /^[0-9]+$/.test(value)) {
|
|
1600
|
-
value = Number(value);
|
|
1601
|
-
}
|
|
1602
|
-
|
|
1603
|
-
if (typeof value === 'number') {
|
|
1604
|
-
return !!value;
|
|
1605
|
-
}
|
|
1606
|
-
|
|
1607
|
-
if (typeof value === 'string') {
|
|
1608
|
-
// `on` and `enabled` are what several operators write in env files, and joi and
|
|
1609
|
-
// resolveHttpProxy() already read `on` as true
|
|
1610
|
-
return /^(y|true|on$|enabled$)/i.test(value);
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
|
-
return false; // ????
|
|
1614
|
-
},
|
|
1594
|
+
getBoolean,
|
|
1615
1595
|
|
|
1616
1596
|
async checkLicense(license) {
|
|
1617
1597
|
let verifyKeys = [
|
|
@@ -2826,9 +2806,7 @@ MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEV3QUiYsp13nD9suD1/ZkEXnuMoSg
|
|
|
2826
2806
|
return false;
|
|
2827
2807
|
},
|
|
2828
2808
|
|
|
2829
|
-
hasEnvValue
|
|
2830
|
-
return key in process.env || `${key}_FILE` in process.env;
|
|
2831
|
-
},
|
|
2809
|
+
hasEnvValue,
|
|
2832
2810
|
|
|
2833
2811
|
/**
|
|
2834
2812
|
* Reads a comma-separated environment value as a trimmed, blank-free array.
|
|
@@ -3001,7 +2979,7 @@ MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEV3QUiYsp13nD9suD1/ZkEXnuMoSg
|
|
|
3001
2979
|
let hopsAllowed = 20;
|
|
3002
2980
|
|
|
3003
2981
|
while (redirect++ < hopsAllowed) {
|
|
3004
|
-
let oauth2DataStr = await redis.hget(
|
|
2982
|
+
let oauth2DataStr = await redis.hget(accountDataKey(account), 'oauth2');
|
|
3005
2983
|
if (!oauth2DataStr) {
|
|
3006
2984
|
let error = new Error(`Missing account data for delegated account "${account}"`);
|
|
3007
2985
|
throw error;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Which Redis reply errors say "not now" rather than "never". Dependency-free, so pure modules and
|
|
4
|
+
// their tests can ask.
|
|
5
|
+
//
|
|
6
|
+
// A cut connection never reaches the code as an error (ioredis runs with maxRetriesPerRequest null
|
|
7
|
+
// and sends the command again once it has reconnected), so these replies are how a Redis problem
|
|
8
|
+
// does reach it: OOM for every write and script while used memory is over maxmemory, LOADING while a
|
|
9
|
+
// restarted Redis loads its dataset, BUSY while a script runs past its time limit, READONLY and
|
|
10
|
+
// MASTERDOWN around a failover, MISCONF while snapshots fail, the cluster ones while slots move. All
|
|
11
|
+
// of them clear up without anything changing on our side, so a caller that holds work durably (a
|
|
12
|
+
// queued arrival, a retried job) keeps it rather than drop it.
|
|
13
|
+
|
|
14
|
+
const TRANSIENT_REPLY = /^(OOM|LOADING|BUSY|READONLY|MASTERDOWN|MISCONF|TRYAGAIN|CLUSTERDOWN|NOREPLICAS)\b/;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Whether an error is a Redis reply that a later attempt can get past. EXECABORT counts when every
|
|
18
|
+
* command that failed inside the transaction did so for such a reason (ioredis collects them in
|
|
19
|
+
* `previousErrors`); a transaction refused for a syntax error fails the same way every time. An
|
|
20
|
+
* error that wraps one (its `cause`) counts as well
|
|
21
|
+
* @param {Error} err
|
|
22
|
+
* @returns {boolean}
|
|
23
|
+
*/
|
|
24
|
+
function isTransientRedisError(err, depth = 0) {
|
|
25
|
+
if (!err || depth > 5) {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
if (err.name !== 'ReplyError' || typeof err.message !== 'string') {
|
|
29
|
+
return isTransientRedisError(err.cause, depth + 1);
|
|
30
|
+
}
|
|
31
|
+
if (TRANSIENT_REPLY.test(err.message)) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
return (
|
|
35
|
+
/^EXECABORT\b/.test(err.message) &&
|
|
36
|
+
Array.isArray(err.previousErrors) &&
|
|
37
|
+
err.previousErrors.length > 0 &&
|
|
38
|
+
// An explicit callback: every() would hand in the index as the depth, so the seventh
|
|
39
|
+
// failed command of a transaction read as past the depth limit, a permanent error
|
|
40
|
+
err.previousErrors.every(previous => isTransientRedisError(previous, depth + 1))
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
module.exports = { isTransientRedisError };
|
package/lib/webhook-delivery.js
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
// decisions were only tested through the helpers it calls. Everything with a side effect is passed
|
|
7
7
|
// in, see createWebhookProcessor().
|
|
8
8
|
|
|
9
|
+
const { accountDataKey } = require('./redis-keys');
|
|
9
10
|
const { UnrecoverableError, DelayedError } = require('bullmq');
|
|
10
11
|
|
|
11
12
|
const { redactUrlCredentials, splitUrlCredentials } = require('./tools');
|
|
@@ -21,13 +22,11 @@ const {
|
|
|
21
22
|
deliveryCustomHeaders,
|
|
22
23
|
isRouteMappingMissing
|
|
23
24
|
} = require('./webhook-routing');
|
|
24
|
-
const {
|
|
25
|
+
const { ACCOUNT_DELETED_NOTIFY, DEFAULT_WEBHOOK_REQUEST_TIMEOUT } = require('./consts');
|
|
25
26
|
|
|
26
27
|
// The payload fields of `data` that are logged as they are; anything else only marks it partial
|
|
27
28
|
const LOGGED_DATA_KEYS = new Set(['id', 'uid', 'path', 'messageId']);
|
|
28
29
|
|
|
29
|
-
const getAccountKey = account => `${REDIS_PREFIX}iad:${account}`;
|
|
30
|
-
|
|
31
30
|
/**
|
|
32
31
|
* Log context shared by every line about one job
|
|
33
32
|
* @param {Object} job - BullMQ job
|
|
@@ -152,7 +151,7 @@ async function waitOutPenalty(job, token, webhooks, deps) {
|
|
|
152
151
|
*/
|
|
153
152
|
async function planDelivery(job, token, deps) {
|
|
154
153
|
const { redis, settings, logger, openAccountField } = deps;
|
|
155
|
-
let accountKey =
|
|
154
|
+
let accountKey = accountDataKey(job.data.account);
|
|
156
155
|
|
|
157
156
|
// Keep the route id reachable for the completed/failed event handlers, which see this same
|
|
158
157
|
// job instance after _route has been deleted from the payload. Stashed before the early
|
package/lib/webhooks.js
CHANGED
|
@@ -12,6 +12,7 @@ const { buildRetentionPolicy } = require('./queue-retention');
|
|
|
12
12
|
const { getFailedJobRetention } = require('./env-setting-overrides');
|
|
13
13
|
const { isDeliverableRoute, defaultRouteTakes, webhookRetryPolicy } = require('./webhook-routing');
|
|
14
14
|
const { withinNotifyAttachmentSize } = require('./notify-attachments');
|
|
15
|
+
const { notifyHeadersIncludeOtp } = require('./otp');
|
|
15
16
|
|
|
16
17
|
// Every setting pushToQueue() decides by, read in one round trip per event
|
|
17
18
|
const QUEUE_SETTINGS = ['webhooksEnabled', 'queueKeep', 'webhookEvents', 'inboxNewOnly', 'webhooksDeliveryAttempts', 'webhooksRetryDelay'];
|
|
@@ -650,6 +651,10 @@ class WebhooksHandler {
|
|
|
650
651
|
}
|
|
651
652
|
}
|
|
652
653
|
|
|
654
|
+
if (data.otp && !notifyHeadersIncludeOtp(notifyHeaders)) {
|
|
655
|
+
delete data.otp;
|
|
656
|
+
}
|
|
657
|
+
|
|
653
658
|
// remove attachment contents
|
|
654
659
|
if (data.attachments) {
|
|
655
660
|
for (let attachment of data.attachments) {
|
package/lib/worker-rpc-error.js
CHANGED
|
@@ -14,10 +14,8 @@
|
|
|
14
14
|
// one place makes that dependency explicit and unit-testable (see test/worker-rpc-error-test.js).
|
|
15
15
|
// `permanent` is nodemailer's own verdict on that reply, which the predicate prefers when present.
|
|
16
16
|
//
|
|
17
|
-
//
|
|
18
|
-
// hub
|
|
19
|
-
// keep their own inline resp-handler copies: they never carry a delivery error, so `responseCode`
|
|
20
|
-
// does not apply to them. Route a delivery error through a new worker and it must switch to these too.
|
|
17
|
+
// Every worker's RPC goes through these helpers (lib/worker-rpc.js on the worker side, server.js as
|
|
18
|
+
// the hub that relays between workers), so a field added here reaches every hop.
|
|
21
19
|
const RPC_ERROR_FIELDS = ['code', 'statusCode', 'responseCode', 'permanent', 'info'];
|
|
22
20
|
|
|
23
21
|
/**
|
|
@@ -27,7 +25,14 @@ const RPC_ERROR_FIELDS = ['code', 'statusCode', 'responseCode', 'permanent', 'in
|
|
|
27
25
|
* @returns {Object} Payload with `error` (the message) plus every present RPC_ERROR_FIELD
|
|
28
26
|
*/
|
|
29
27
|
function packRpcError(err) {
|
|
30
|
-
|
|
28
|
+
// A command may reject with something that is not an Error (a string, undefined). Reading
|
|
29
|
+
// .message off that used to throw inside the reply handler, a rejection nothing caught
|
|
30
|
+
if (!err || typeof err !== 'object') {
|
|
31
|
+
return { error: String(err) };
|
|
32
|
+
}
|
|
33
|
+
// Never empty: the receiving side tells an error reply from a result by this field being set,
|
|
34
|
+
// so an Error with no message would otherwise arrive as a successful, empty response
|
|
35
|
+
let payload = { error: err.message || err.name || 'Error' };
|
|
31
36
|
for (let field of RPC_ERROR_FIELDS) {
|
|
32
37
|
if (err[field] != null) {
|
|
33
38
|
payload[field] = err[field];
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// The worker side of the RPC protocol between a worker thread and the main thread (server.js).
|
|
4
|
+
//
|
|
5
|
+
// A worker calls the main thread with `{ cmd: 'call', mid, message }` and gets back
|
|
6
|
+
// `{ cmd: 'resp', mid, response }` or `{ cmd: 'resp', mid, error, ...fields }`; the main thread
|
|
7
|
+
// calls a worker the same way. Every worker used to carry its own copy of both halves, and the
|
|
8
|
+
// copies had drifted: some rebuilt errors without `responseCode` and `permanent`, one call() did
|
|
9
|
+
// not guard postMessage, and no reply guarded against a response that cannot be cloned, which
|
|
10
|
+
// would surface as a rejection nothing handles and end the worker. Errors cross the hop through
|
|
11
|
+
// lib/worker-rpc-error.js, the same field list everywhere.
|
|
12
|
+
//
|
|
13
|
+
// The main thread's hub (server.js) routes calls between workers and keeps its own bookkeeping
|
|
14
|
+
// (the worker each call went to, rejecting them when it exits), so it does not use this module.
|
|
15
|
+
|
|
16
|
+
const { packRpcError, unpackRpcError } = require('./worker-rpc-error');
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Creates the calling half: call() sends a command to the main thread and settles when its
|
|
20
|
+
* response arrives or the timeout passes, handleResponse() settles a call from a received message.
|
|
21
|
+
*
|
|
22
|
+
* @param {Object} opts
|
|
23
|
+
* @param {Object} opts.port - the MessagePort to talk over (parentPort)
|
|
24
|
+
* @param {Number} opts.defaultTimeout - lowest timeout in ms, a command may ask for longer
|
|
25
|
+
* @param {String} opts.timeoutTag - short marker in the timeout message that names the worker
|
|
26
|
+
* @returns {{ call: Function, handleResponse: Function, pendingCount: Function }}
|
|
27
|
+
*/
|
|
28
|
+
function createRpcClient({ port, defaultTimeout, timeoutTag }) {
|
|
29
|
+
const pending = new Map();
|
|
30
|
+
let mids = 0;
|
|
31
|
+
|
|
32
|
+
function call(message, transferList) {
|
|
33
|
+
return new Promise((resolve, reject) => {
|
|
34
|
+
const mid = `${Date.now()}:${++mids}`;
|
|
35
|
+
|
|
36
|
+
const ttl = Math.max(message.timeout || 0, defaultTimeout || 0);
|
|
37
|
+
const timer = setTimeout(() => {
|
|
38
|
+
pending.delete(mid);
|
|
39
|
+
const err = new Error(`Timeout waiting for command response [${timeoutTag}]`);
|
|
40
|
+
err.statusCode = 504;
|
|
41
|
+
err.code = 'Timeout';
|
|
42
|
+
err.ttl = ttl;
|
|
43
|
+
reject(err);
|
|
44
|
+
}, ttl);
|
|
45
|
+
|
|
46
|
+
pending.set(mid, { resolve, reject, timer });
|
|
47
|
+
|
|
48
|
+
try {
|
|
49
|
+
port.postMessage({ cmd: 'call', mid, message }, transferList);
|
|
50
|
+
} catch (err) {
|
|
51
|
+
clearTimeout(timer);
|
|
52
|
+
pending.delete(mid);
|
|
53
|
+
reject(err);
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Settles the call a response belongs to
|
|
60
|
+
* @param {Object} message - a received message
|
|
61
|
+
* @returns {Boolean} true when the message was the response to a pending call
|
|
62
|
+
*/
|
|
63
|
+
function handleResponse(message) {
|
|
64
|
+
if (!message || message.cmd !== 'resp' || !message.mid || !pending.has(message.mid)) {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const { resolve, reject, timer } = pending.get(message.mid);
|
|
69
|
+
clearTimeout(timer);
|
|
70
|
+
pending.delete(message.mid);
|
|
71
|
+
|
|
72
|
+
if (message.error) {
|
|
73
|
+
reject(unpackRpcError(message));
|
|
74
|
+
} else {
|
|
75
|
+
resolve(message.response);
|
|
76
|
+
}
|
|
77
|
+
return true;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return { call, handleResponse, pendingCount: () => pending.size };
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Runs a command the main thread sent and posts its result back. Never rejects: a response that
|
|
85
|
+
* cannot be sent (a value postMessage cannot clone, a closed port) is answered with an error
|
|
86
|
+
* instead, and a failure to send even that is logged rather than left to the global handler.
|
|
87
|
+
*
|
|
88
|
+
* @param {Object} port - the MessagePort to answer over (parentPort)
|
|
89
|
+
* @param {Object} message - the received `{ cmd: 'call', mid, message }`
|
|
90
|
+
* @param {Function} handler - async (command) => response
|
|
91
|
+
* @param {Object} opts
|
|
92
|
+
* @param {Object} opts.logger - where an undeliverable response is reported
|
|
93
|
+
* @param {Function} [opts.onError] - (err, message) => void, sees a command's error before it is sent
|
|
94
|
+
* @returns {Promise<void>}
|
|
95
|
+
*/
|
|
96
|
+
async function respond(port, message, handler, { logger, onError }) {
|
|
97
|
+
const mid = message.mid;
|
|
98
|
+
|
|
99
|
+
const send = payload => {
|
|
100
|
+
try {
|
|
101
|
+
port.postMessage(payload);
|
|
102
|
+
} catch (err) {
|
|
103
|
+
try {
|
|
104
|
+
port.postMessage(Object.assign({ cmd: 'resp', mid }, packRpcError(err)));
|
|
105
|
+
} catch (fallbackErr) {
|
|
106
|
+
logger.error({ msg: 'Failed to send a command response', mid, err: fallbackErr });
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
let response;
|
|
112
|
+
try {
|
|
113
|
+
response = await handler(message.message);
|
|
114
|
+
} catch (err) {
|
|
115
|
+
if (onError) {
|
|
116
|
+
try {
|
|
117
|
+
onError(err, message);
|
|
118
|
+
} catch (hookErr) {
|
|
119
|
+
logger.error({ msg: 'Failed to process a command error', mid, err: hookErr });
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
send(Object.assign({ cmd: 'resp', mid }, packRpcError(err)));
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
send({ cmd: 'resp', mid, response });
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Whether a received message is a command for this worker to run
|
|
131
|
+
* @param {Object} message
|
|
132
|
+
* @returns {Boolean}
|
|
133
|
+
*/
|
|
134
|
+
function isCall(message) {
|
|
135
|
+
return !!(message && message.cmd === 'call' && message.mid);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
module.exports = { createRpcClient, respond, isCall };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "emailengine-app",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.87.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"productTitle": "EmailEngine",
|
|
6
6
|
"description": "Email Sync Engine",
|
|
@@ -50,87 +50,87 @@
|
|
|
50
50
|
"url": "git+https://github.com/postalsys/emailengine.git"
|
|
51
51
|
},
|
|
52
52
|
"bugs": {
|
|
53
|
-
"url": "https://
|
|
53
|
+
"url": "https://emailengine.app/support",
|
|
54
|
+
"email": "support@postalsys.com"
|
|
54
55
|
},
|
|
55
56
|
"homepage": "https://emailengine.app/",
|
|
56
57
|
"dependencies": {
|
|
57
58
|
"@hapi/accept": "6.0.3",
|
|
58
|
-
"@hapi/bell": "13.2.
|
|
59
|
+
"@hapi/bell": "13.2.1",
|
|
59
60
|
"@hapi/boom": "10.0.1",
|
|
60
61
|
"@hapi/cookie": "12.0.1",
|
|
61
62
|
"@hapi/crumb": "9.0.1",
|
|
62
|
-
"@hapi/hapi": "21.4.
|
|
63
|
+
"@hapi/hapi": "21.4.13",
|
|
63
64
|
"@hapi/inert": "7.1.3",
|
|
64
65
|
"@hapi/vision": "7.0.3",
|
|
65
66
|
"@msgpack/msgpack": "3.1.3",
|
|
66
67
|
"@postalsys/bounce-classifier": "3.1.0",
|
|
67
|
-
"@postalsys/certs": "2.0.
|
|
68
|
-
"@postalsys/email-ai-tools": "2.
|
|
69
|
-
"@postalsys/email-content": "0.1.
|
|
70
|
-
"@postalsys/email-text-tools": "2.6.
|
|
68
|
+
"@postalsys/certs": "2.0.4",
|
|
69
|
+
"@postalsys/email-ai-tools": "2.4.2",
|
|
70
|
+
"@postalsys/email-content": "0.1.20",
|
|
71
|
+
"@postalsys/email-text-tools": "2.6.3",
|
|
71
72
|
"@postalsys/gettext": "4.3.0",
|
|
72
73
|
"@postalsys/joi-messages": "1.4.1",
|
|
73
74
|
"@postalsys/templates": "2.1.1",
|
|
74
|
-
"@sentry/node-core": "10.
|
|
75
|
+
"@sentry/node-core": "10.78.0",
|
|
75
76
|
"@simplewebauthn/server": "14.0.3",
|
|
76
|
-
"@zone-eu/mailsplit": "5.4.
|
|
77
|
+
"@zone-eu/mailsplit": "5.4.30",
|
|
77
78
|
"@zone-eu/wild-config": "1.7.10",
|
|
78
|
-
"bullmq": "6.
|
|
79
|
+
"bullmq": "6.7.0",
|
|
79
80
|
"dotenv": "18.0.9",
|
|
80
|
-
"fast-xml-parser": "5.
|
|
81
|
+
"fast-xml-parser": "5.12.0",
|
|
81
82
|
"handlebars": "4.7.10",
|
|
82
83
|
"he": "1.2.0",
|
|
83
84
|
"html-to-text": "10.0.1",
|
|
84
85
|
"ical.js": "2.2.1",
|
|
85
86
|
"iconv-lite": "0.7.3",
|
|
86
|
-
"imapflow": "2.
|
|
87
|
+
"imapflow": "2.10.2",
|
|
87
88
|
"ioredfour": "2.2.0",
|
|
88
89
|
"ioredis": "6.0.0",
|
|
89
90
|
"ipaddr.js": "2.5.0",
|
|
90
|
-
"joi": "18.3.
|
|
91
|
+
"joi": "18.3.2",
|
|
91
92
|
"libbase64": "1.4.1",
|
|
92
|
-
"libmime": "5.6.
|
|
93
|
+
"libmime": "5.6.4",
|
|
93
94
|
"libqp": "3.0.1",
|
|
94
|
-
"mailparser": "3.
|
|
95
|
+
"mailparser": "3.14.2",
|
|
95
96
|
"marked": "15.0.12",
|
|
96
97
|
"minimist": "1.2.8",
|
|
97
|
-
"nodemailer": "10.
|
|
98
|
+
"nodemailer": "10.3.1",
|
|
98
99
|
"pino": "10.3.1",
|
|
99
100
|
"prom-client": "15.1.3",
|
|
100
101
|
"pubface": "1.2.0",
|
|
101
102
|
"punycode.js": "2.3.1",
|
|
102
103
|
"qrcode-generator": "2.0.4",
|
|
103
|
-
"smtp-server": "3.21.
|
|
104
|
+
"smtp-server": "3.21.3",
|
|
104
105
|
"socks": "2.8.10",
|
|
105
106
|
"undici": "7.30.1"
|
|
106
107
|
},
|
|
107
108
|
"devDependencies": {
|
|
108
109
|
"@eslint/js": "10.0.1",
|
|
109
|
-
"@iconify-json/tabler": "1.2.
|
|
110
|
+
"@iconify-json/tabler": "1.2.43",
|
|
110
111
|
"@iconify/tailwind4": "1.2.3",
|
|
111
112
|
"@playwright/test": "1.63.0",
|
|
112
|
-
"@postalsys/ee-client": "1.
|
|
113
|
+
"@postalsys/ee-client": "1.10.0",
|
|
113
114
|
"@simplewebauthn/browser": "14.0.0",
|
|
114
|
-
"@tailwindcss/cli": "4.3.
|
|
115
|
+
"@tailwindcss/cli": "4.3.4",
|
|
115
116
|
"ace-builds": "1.45.2",
|
|
116
117
|
"acorn": "8.19.0",
|
|
117
118
|
"acorn-walk": "8.3.5",
|
|
118
119
|
"eerawlog": "1.5.5",
|
|
119
|
-
"eslint": "10.
|
|
120
|
+
"eslint": "10.14.0",
|
|
120
121
|
"eslint-config-prettier": "10.1.8",
|
|
121
122
|
"flyonui": "2.4.1",
|
|
122
123
|
"gettext-parser": "7.0.1",
|
|
123
|
-
"globals": "17.
|
|
124
|
+
"globals": "17.14.0",
|
|
124
125
|
"pino-pretty": "13.2.0",
|
|
125
126
|
"prettier": "3.9.10",
|
|
126
127
|
"resedit": "3.1.0",
|
|
127
128
|
"spdx-satisfies": "6.0.0",
|
|
128
129
|
"supertest": "7.3.1",
|
|
129
|
-
"tailwindcss": "4.3.
|
|
130
|
+
"tailwindcss": "4.3.4",
|
|
130
131
|
"xgettext-template": "5.0.0"
|
|
131
132
|
},
|
|
132
133
|
"overrides": {
|
|
133
|
-
"@asamuzakjp/css-color": "4.1.1",
|
|
134
134
|
"cheerio": "1.2.0"
|
|
135
135
|
},
|
|
136
136
|
"engines": {
|
|
@@ -148,7 +148,6 @@
|
|
|
148
148
|
"node_modules/@postalsys/joi-messages/translations/*",
|
|
149
149
|
"node_modules/@postalsys/bounce-classifier/model/**/*",
|
|
150
150
|
"node_modules/@postalsys/email-content/dist/detect/patterns/*.json",
|
|
151
|
-
"node_modules/jsdom/lib/jsdom/browser/default-stylesheet.css",
|
|
152
151
|
"LICENSE_EMAILENGINE.txt",
|
|
153
152
|
"version-info.json",
|
|
154
153
|
"sbom.json",
|