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.
Files changed (74) hide show
  1. package/.ncurc.js +2 -4
  2. package/.release-please-manifest.json +1 -1
  3. package/CHANGELOG.md +42 -0
  4. package/DOCKER_DEPLOYMENT.md +2 -1
  5. package/Dockerfile +5 -6
  6. package/README.md +4 -0
  7. package/bin/emailengine.js +2 -4
  8. package/bin/healthcheck.js +20 -0
  9. package/data/google-crawlers.json +1 -1
  10. package/data/public_suffix_list.dat +3 -7
  11. package/lib/account/auth-failure-backfill.js +3 -2
  12. package/lib/account/expected-identity.js +2 -2
  13. package/lib/account.js +101 -39
  14. package/lib/api-listener.js +40 -0
  15. package/lib/api-routes/account-routes.js +14 -7
  16. package/lib/api-routes/submit-routes.js +21 -2
  17. package/lib/api-token-auth.js +406 -0
  18. package/lib/autodetect-imap-settings.js +36 -3
  19. package/lib/consts.js +5 -0
  20. package/lib/email-client/base-client.js +27 -109
  21. package/lib/email-client/gmail-client.js +15 -4
  22. package/lib/email-client/imap/mailbox.js +97 -97
  23. package/lib/email-client/imap/sync-operations.js +13 -6
  24. package/lib/email-client/imap-client.js +28 -7
  25. package/lib/email-client/new-message-steps.js +162 -0
  26. package/lib/email-client/outlook-client.js +10 -2
  27. package/lib/env-setting-overrides.js +6 -2
  28. package/lib/export-worker.js +3 -2
  29. package/lib/export.js +43 -4
  30. package/lib/field-usage.js +1 -1
  31. package/lib/get-boolean.js +38 -0
  32. package/lib/get-raw-email.js +10 -1
  33. package/lib/health-probe.js +71 -0
  34. package/lib/imapproxy/imap-server.js +4 -55
  35. package/lib/net-tos-guard.js +42 -0
  36. package/lib/oauth/gmail.js +54 -29
  37. package/lib/oauth2-apps.js +2 -1
  38. package/lib/otp.js +66 -0
  39. package/lib/read-env-value.js +19 -7
  40. package/lib/redis-keys.js +19 -0
  41. package/lib/redis-operations.js +7 -3
  42. package/lib/schemas.js +62 -2
  43. package/lib/security-headers.js +18 -0
  44. package/lib/session-default.js +50 -0
  45. package/lib/settings.js +2 -1
  46. package/lib/stream-encrypt.js +71 -20
  47. package/lib/sub-script.js +8 -2
  48. package/lib/submit-lock.js +84 -0
  49. package/lib/submit-processor.js +283 -0
  50. package/lib/swagger-options.js +2 -2
  51. package/lib/templates.js +6 -3
  52. package/lib/tls/context.js +2 -16
  53. package/lib/tools.js +8 -30
  54. package/lib/utils/redis-errors.js +44 -0
  55. package/lib/webhook-delivery.js +3 -4
  56. package/lib/webhooks.js +5 -0
  57. package/lib/worker-rpc-error.js +10 -5
  58. package/lib/worker-rpc.js +138 -0
  59. package/package.json +25 -26
  60. package/sbom.json +660 -1736
  61. package/server.js +6 -5
  62. package/static/css/flyonui.css +2 -2
  63. package/static/js/ee-client.js +650 -196
  64. package/static/licenses.html +280 -1393
  65. package/translations/messages.pot +16 -16
  66. package/views/layout/app.hbs +9 -6
  67. package/views/legal.hbs +8 -0
  68. package/workers/api.js +51 -474
  69. package/workers/export.js +14 -55
  70. package/workers/imap-proxy.js +5 -18
  71. package/workers/imap.js +27 -49
  72. package/workers/smtp.js +7 -69
  73. package/workers/submit.js +21 -279
  74. package/workers/webhooks.js +7 -72
@@ -1,7 +1,7 @@
1
1
  msgid ""
2
2
  msgstr ""
3
3
  "Content-Type: text/plain; charset=ascii\n"
4
- "POT-Creation-Date: 2026-10-21 21:45+0000\n"
4
+ "POT-Creation-Date: 2026-11-04 20:42+0000\n"
5
5
 
6
6
  #: lib/autodetect-imap-settings.js:160
7
7
  msgid ""
@@ -11,19 +11,19 @@ msgid ""
11
11
  "connect your account."
12
12
  msgstr ""
13
13
 
14
- #: lib/tools.js:1749
14
+ #: lib/tools.js:1729
15
15
  #: lib/ui-routes/unsubscribe-routes.js:34
16
16
  #: lib/ui-routes/unsubscribe-routes.js:102
17
17
  msgid "Invalid input"
18
18
  msgstr ""
19
19
 
20
- #: lib/tools.js:2713
20
+ #: lib/tools.js:2693
21
21
  msgid "Signature validation failed"
22
22
  msgstr ""
23
23
 
24
- #: lib/tools.js:2736
25
- #: lib/tools.js:2742
26
- #: lib/tools.js:2747
24
+ #: lib/tools.js:2716
25
+ #: lib/tools.js:2722
26
+ #: lib/tools.js:2727
27
27
  #: lib/ui-routes/account-setup.js:80
28
28
  msgid "Invalid or expired account setup URL"
29
29
  msgstr ""
@@ -37,7 +37,7 @@ msgstr ""
37
37
  #: lib/ui-routes/account-routes.js:1360
38
38
  #: lib/ui-routes/route-helpers.js:350
39
39
  #: lib/ui-routes/route-helpers.js:373
40
- #: workers/api.js:2479
40
+ #: workers/api.js:2055
41
41
  msgid "Email Account Setup"
42
42
  msgstr ""
43
43
 
@@ -413,7 +413,7 @@ msgstr[0] ""
413
413
  msgstr[1] ""
414
414
 
415
415
  #: views/error.hbs:6
416
- #: workers/api.js:3339
416
+ #: workers/api.js:2916
417
417
  msgid "Something went wrong"
418
418
  msgstr ""
419
419
 
@@ -529,37 +529,37 @@ msgid ""
529
529
  "received."
530
530
  msgstr ""
531
531
 
532
- #: workers/api.js:2393
532
+ #: workers/api.js:1967
533
533
  msgid ""
534
534
  "The sign-in was cancelled or the requested access was not granted. Open the "
535
535
  "account setup link again to retry."
536
536
  msgstr ""
537
537
 
538
- #: workers/api.js:2402
538
+ #: workers/api.js:1976
539
539
  msgid "Sign-in with the email provider failed: %s"
540
540
  msgstr ""
541
541
 
542
- #: workers/api.js:2406
542
+ #: workers/api.js:1980
543
543
  msgid "Sign-in with the email provider failed: no authorization code was received"
544
544
  msgstr ""
545
545
 
546
- #: workers/api.js:2410
546
+ #: workers/api.js:1984
547
547
  msgid "Sign-in with the email provider failed: the request state is not valid"
548
548
  msgstr ""
549
549
 
550
- #: workers/api.js:2419
550
+ #: workers/api.js:1993
551
551
  msgid ""
552
552
  "The account setup session has expired or was already used. Open the account "
553
553
  "setup link again to retry."
554
554
  msgstr ""
555
555
 
556
- #: workers/api.js:2425
556
+ #: workers/api.js:1999
557
557
  msgid ""
558
558
  "Sign-in with the email provider failed: the stored setup session is not "
559
559
  "valid"
560
560
  msgstr ""
561
561
 
562
- #: workers/api.js:3338
563
- #: workers/api.js:3461
562
+ #: workers/api.js:2915
563
+ #: workers/api.js:3038
564
564
  msgid "Requested page not found"
565
565
  msgstr ""
@@ -299,12 +299,15 @@
299
299
 
300
300
  <!-- Footer -->
301
301
  <footer class="bg-base-100 border-base-content/20 border-t py-6 mt-auto">
302
- <div class="text-base-content/60 text-center text-sm">
303
- <a href="{{packageData.homepage}}" target="_blank" rel="noopener noreferrer" class="link link-animated">EmailEngine</a>
304
- v{{packageData.version}}.
305
- <span>&copy; 2020-{{currentYear}}</span>
306
- <a class="link link-animated" href="https://postalsys.com/contact" target="_blank" rel="noopener noreferrer">Postal Systems O&Uuml;</a>.
307
- <a class="link link-animated" href="/admin/legal">License and terms</a>.
302
+ <div class="text-base-content/60 flex flex-col items-center gap-3 px-4 text-sm sm:px-6 lg:flex-row lg:justify-between">
303
+ <p>EmailEngine v{{packageData.version}} &middot; &copy; 2020-{{currentYear}} Postal Systems O&Uuml;</p>
304
+ <nav aria-label="Footer">
305
+ <ul class="flex flex-wrap justify-center gap-x-6 gap-y-2">
306
+ <li><a class="link link-animated inline-flex items-center gap-1.5" href="https://learn.emailengine.app/" target="_blank" rel="noopener noreferrer"><span class="icon-[tabler--book] size-4" aria-hidden="true"></span>Documentation</a></li>
307
+ <li><a class="link link-animated inline-flex items-center gap-1.5" href="https://emailengine.app/support" target="_blank" rel="noopener noreferrer"><span class="icon-[tabler--lifebuoy] size-4" aria-hidden="true"></span>Support</a></li>
308
+ <li><a class="link link-animated inline-flex items-center gap-1.5" href="/admin/legal"><span class="icon-[tabler--gavel] size-4" aria-hidden="true"></span>License and terms</a></li>
309
+ </ul>
310
+ </nav>
308
311
  </div>
309
312
  </footer>
310
313
  <!-- End of Footer -->
package/views/legal.hbs CHANGED
@@ -24,6 +24,14 @@
24
24
 
25
25
  <ul class="divide-base-content/10 border-base-content/10 divide-y border-t">
26
26
 
27
+ <li class="px-6 py-4">
28
+ <a href="https://emailengine.app/support" target="_blank" rel="noopener noreferrer" class="link link-animated">
29
+ <span class="icon-[tabler--arrow-right] size-4 align-text-bottom"></span>
30
+ <strong>Support</strong>
31
+ </a>
32
+ - or email <a href="mailto:support@postalsys.com" class="link link-animated">support@postalsys.com</a>
33
+ </li>
34
+
27
35
  <li class="px-6 py-4">
28
36
  <strong>
29
37
  {{#if licenseInfo.details.key}}