emailengine-app 2.67.1 → 2.67.3

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.
@@ -84,3 +84,7 @@ jobs:
84
84
  OUTLOOK_SERVICE_TENANT_ID: ${{ secrets.OUTLOOK_SERVICE_TENANT_ID }}
85
85
  OUTLOOK_SERVICE_CLIENT_SECRET: ${{ secrets.OUTLOOK_SERVICE_CLIENT_SECRET }}
86
86
  OUTLOOK_SERVICE_ACCOUNT_EMAIL: ${{ secrets.OUTLOOK_SERVICE_ACCOUNT_EMAIL }}
87
+ GMAIL_SERVICE_POSTALSYS_CLIENT: ${{ secrets.GMAIL_SERVICE_POSTALSYS_CLIENT }}
88
+ GMAIL_SERVICE_POSTALSYS_SERVICE_EMAIL: ${{ secrets.GMAIL_SERVICE_POSTALSYS_SERVICE_EMAIL }}
89
+ GMAIL_SERVICE_POSTALSYS_KEY: ${{ secrets.GMAIL_SERVICE_POSTALSYS_KEY }}
90
+ GMAIL_SERVICE_POSTALSYS_ACCOUNT_EMAIL: ${{ secrets.GMAIL_SERVICE_POSTALSYS_ACCOUNT_EMAIL }}
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.67.3](https://github.com/postalsys/emailengine/compare/v2.67.2...v2.67.3) (2026-04-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * use template literals for translated strings in showErrorPopup ([b56fd1f](https://github.com/postalsys/emailengine/commit/b56fd1fa7612b4cf2b7e99cbd78d7447b89c03c6))
9
+
10
+ ## [2.67.2](https://github.com/postalsys/emailengine/compare/v2.67.1...v2.67.2) (2026-04-21)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * restore IMAP XOAUTH2 path for gmailService accounts ([d2ebe9b](https://github.com/postalsys/emailengine/commit/d2ebe9b3c19cd0bcaaf0fa17d40148f79dd7cd2b))
16
+
3
17
  ## [2.67.1](https://github.com/postalsys/emailengine/compare/v2.67.0...v2.67.1) (2026-04-17)
4
18
 
5
19
 
@@ -1671,12 +1671,9 @@ class OAuth2AppsHandler {
1671
1671
  }
1672
1672
  }
1673
1673
 
1674
- /**
1675
- * Returns true if the given OAuth2 app uses API-based access (Graph API, Gmail API)
1676
- * rather than IMAP/SMTP. Service account providers always use API access.
1677
- */
1674
+ // gmailService uses JWT -> IMAP XOAUTH2, so it is NOT API-based even though it is a service-account provider.
1678
1675
  function isApiBasedApp(app) {
1679
- return app && (app.baseScopes === 'api' || SERVICE_ACCOUNT_PROVIDERS.has(app.provider));
1676
+ return app && (app.baseScopes === 'api' || app.provider === 'outlookService');
1680
1677
  }
1681
1678
 
1682
1679
  module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emailengine-app",
3
- "version": "2.67.1",
3
+ "version": "2.67.3",
4
4
  "private": false,
5
5
  "productTitle": "EmailEngine",
6
6
  "description": "Email Sync Engine",
@@ -315,26 +315,26 @@
315
315
  errorsListElm.innerHTML = '';
316
316
 
317
317
  if (data.error && !data.fields) {
318
- addErrorRow('{{_ "Error" templateLocale }}', data.error.message || data.error)
318
+ addErrorRow(`{{_ "Error" templateLocale }}`, data.error.message || data.error)
319
319
  } else if (data.fields) {
320
- addErrorRow('{{_ "Invalid settings" templateLocale }}', data.message);
320
+ addErrorRow(`{{_ "Invalid settings" templateLocale }}`, data.message);
321
321
  for (let field of data.fields) {
322
322
  addErrorRow('-', field.message, 'aaaa', 'bbbbbb');
323
323
  }
324
324
  } else {
325
325
  if (!data.imap || !data.imap.success) {
326
- let error = data.imap && data.imap.error || '{{_ "Couldn't connect to IMAP server" templateLocale }}'
326
+ let error = data.imap && data.imap.error || `{{_ "Couldn't connect to IMAP server" templateLocale }}`
327
327
  if (data.imap && data.imap.responseText) {
328
- addErrorRow('IMAP', error, '{{_ "Server response:" templateLocale }}', data.imap.responseText);
328
+ addErrorRow('IMAP', error, `{{_ "Server response:" templateLocale }}`, data.imap.responseText);
329
329
  } else {
330
330
  addErrorRow('IMAP', error);
331
331
  }
332
332
  }
333
333
 
334
334
  if (!data.smtp || !data.smtp.success) {
335
- let error = data.smtp && data.smtp.error || '{{_ "Couldn't connect to SMTP server" templateLocale }}'
335
+ let error = data.smtp && data.smtp.error || `{{_ "Couldn't connect to SMTP server" templateLocale }}`
336
336
  if (data.smtp && data.smtp.responseText) {
337
- addErrorRow('SMTP', error, '{{_ "Server response:" templateLocale }}', data.smtp.responseText);
337
+ addErrorRow('SMTP', error, `{{_ "Server response:" templateLocale }}`, data.smtp.responseText);
338
338
  } else {
339
339
  addErrorRow('SMTP', error);
340
340
  }