@bobfrankston/mailx 1.0.114 → 1.0.115

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx",
3
- "version": "1.0.114",
3
+ "version": "1.0.115",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -20,7 +20,7 @@
20
20
  "postinstall": "node launcher/builder/postinstall.js"
21
21
  },
22
22
  "dependencies": {
23
- "@bobfrankston/iflow": "^1.0.44",
23
+ "@bobfrankston/iflow": "^1.0.45",
24
24
  "@bobfrankston/miscinfo": "^1.0.7",
25
25
  "@bobfrankston/oauthsupport": "^1.0.20",
26
26
  "@bobfrankston/rust-builder": "^0.1.3",
@@ -75,7 +75,10 @@ export class MailxService {
75
75
  hasRemoteContent: false, remoteAllowed: false, attachments: [], emlPath: "", deliveredTo: "", returnPath: "", listUnsubscribe: ""
76
76
  };
77
77
  }
78
- if (raw) {
78
+ if (!raw) {
79
+ bodyText = "[Message body not available — not cached locally and IMAP fetch failed. Try again or re-sync the folder.]";
80
+ }
81
+ else {
79
82
  const parsed = await simpleParser(raw);
80
83
  bodyHtml = parsed.html || "";
81
84
  bodyText = parsed.text || "";