emailengine-app 1.14.7 → 1.14.8

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/README.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  # EmailEngine Email API
4
4
 
5
+ ---
6
+
7
+ > **NB!** Version 1 of EmailEngine has been discontinued. Check out the [EmailEngine's homepage](https://emailengine.app) for version 2 and newer.
8
+
9
+ ---
10
+
5
11
  Headless email client that makes IMAP and SMTP resources available over REST. Integrate email accounts with your service with ease!
6
12
 
7
13
  ## Use cases
package/lib/connection.js CHANGED
@@ -717,7 +717,8 @@ class Connection {
717
717
 
718
718
  let imapConfig = Object.assign(
719
719
  {
720
- resyncDelay: RESYNC_DELAY
720
+ resyncDelay: RESYNC_DELAY,
721
+ id: this.cid
721
722
  },
722
723
  imapConnectionConfig,
723
724
  this.imapConfig
package/lib/mailbox.js CHANGED
@@ -301,6 +301,7 @@ class Mailbox {
301
301
  this.shouldRunPartialSyncAfterExists()
302
302
  .then(shouldRun => {
303
303
  if (shouldRun) {
304
+ this.logger.trace({ msg: 'Running partial sync' });
304
305
  return this.partialSync();
305
306
  }
306
307
  return false;
package/lib/schemas.js CHANGED
@@ -106,6 +106,7 @@ const smtpSchema = {
106
106
  pass: Joi.string().max(256).example('verysecret').description('Account password'),
107
107
  accessToken: Joi.string().max(4096).description('Access Token for OAuth2')
108
108
  })
109
+ .allow(false)
109
110
  .xor('pass', 'accessToken')
110
111
  .description('Authentication info')
111
112
  .label('Authentication'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emailengine-app",
3
- "version": "1.14.7",
3
+ "version": "1.14.8",
4
4
  "description": "Email Sync Engine",
5
5
  "main": "server.js",
6
6
  "scripts": {
@@ -33,30 +33,30 @@
33
33
  "@hapi/hapi": "20.2.1",
34
34
  "@hapi/inert": "6.0.4",
35
35
  "@hapi/vision": "6.1.0",
36
- "bull": "3.29.2",
36
+ "bull": "3.29.3",
37
37
  "bull-arena": "3.29.3",
38
38
  "dotenv": "10.0.0",
39
39
  "email-reply-parser": "1.2.6",
40
40
  "exponential-backoff": "3.1.0",
41
41
  "express": "4.17.1",
42
- "google-auth-library": "7.10.0",
42
+ "google-auth-library": "7.10.1",
43
43
  "hapi-pino": "8.5.0",
44
44
  "hapi-swagger": "14.2.4",
45
45
  "he": "1.2.0",
46
46
  "html-to-text": "8.0.0",
47
- "imapflow": "1.0.75",
48
- "ioredis": "4.27.11",
47
+ "imapflow": "1.0.76",
48
+ "ioredis": "4.28.0",
49
49
  "joi": "17.4.2",
50
50
  "jquery": "3.6.0",
51
51
  "libmime": "5.0.0",
52
52
  "linkifyjs": "2.1.9",
53
- "mailparser": "3.3.3",
54
- "mailsplit": "5.2.0",
53
+ "mailparser": "3.4.0",
54
+ "mailsplit": "5.3.1",
55
55
  "msgpack5": "5.3.2",
56
56
  "node-fetch": "2.6.1",
57
57
  "node-vault": "0.9.22",
58
58
  "nodemailer": "6.7.0",
59
- "pino": "6.13.3",
59
+ "pino": "7.0.2",
60
60
  "prom-client": "14.0.0",
61
61
  "punycode": "2.1.1",
62
62
  "smtp-server": "3.9.0",
@@ -65,12 +65,12 @@
65
65
  "yargs": "^17.2.1"
66
66
  },
67
67
  "devDependencies": {
68
- "eslint": "8.0.0",
68
+ "eslint": "8.0.1",
69
69
  "eslint-config-nodemailer": "1.2.0",
70
70
  "eslint-config-prettier": "8.3.0",
71
71
  "grunt": "1.4.1",
72
72
  "grunt-cli": "1.4.3",
73
- "grunt-eslint": "23.0.0",
73
+ "grunt-eslint": "24.0.0",
74
74
  "license-report": "4.5.0",
75
75
  "pkg": "5.3.3"
76
76
  },