@bobfrankston/mailx 1.0.283 → 1.0.285

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 (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -290,6 +290,7 @@ For known providers, only `email` is required -- IMAP/SMTP settings fill automat
290
290
  "email": "you@example.com",
291
291
  "name": "Your Name",
292
292
  "label": "Work",
293
+ "spam": "_spam", // Optional: enables the ⚠ Spam button in the viewer toolbar
293
294
  "imap": { "host": "imap.example.com", "port": 993, "tls": true, "user": "you", "password": "..." },
294
295
  "smtp": { "host": "smtp.example.com", "port": 587, "tls": true, "user": "you", "password": "..." }
295
296
  }
@@ -297,6 +298,17 @@ For known providers, only `email` is required -- IMAP/SMTP settings fill automat
297
298
  }
298
299
  ```
299
300
 
301
+ **Optional per-account fields:**
302
+
303
+ | Field | Type | Purpose |
304
+ |-------|------|---------|
305
+ | `spam` | string | IMAP folder path to send messages when the **Spam** (⚠) button is pressed. The button is hidden until this is set. Use the exact folder path on the server (e.g., `"_spam"`, `"INBOX/Spam"`, `"[Gmail]/Spam"`). |
306
+ | `label` | string | Display name in the folder tree (overrides auto-detected). |
307
+ | `defaultSend` | bool | Use this account's SMTP when From doesn't match any account. |
308
+ | `relayDomains` | string[] | Domains to skip in Delivered-To chain (e.g., `["m.connectivity.xyz"]`). |
309
+ | `deliveredToPrefix` | string[] | Strip these prefixes from Delivered-To to recover the clean alias (e.g., `["bobf-ma-", "bobf-"]` — order matters, longest first). |
310
+ | `identityDomains` | string[] | Domains where Delivered-To becomes the reply From (e.g., `["bob.ma"]`). |
311
+
300
312
  **Auto-detected providers:**
301
313
 
302
314
  | Domain | IMAP | SMTP | Auth | Label |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx",
3
- "version": "1.0.283",
3
+ "version": "1.0.285",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -24,7 +24,7 @@
24
24
  "@bobfrankston/iflow-node": "^0.1.7",
25
25
  "@bobfrankston/miscinfo": "^1.0.8",
26
26
  "@bobfrankston/oauthsupport": "^1.0.24",
27
- "@bobfrankston/msger": "^0.1.320",
27
+ "@bobfrankston/msger": "^0.1.322",
28
28
  "@capacitor/android": "^8.3.0",
29
29
  "@capacitor/cli": "^8.3.0",
30
30
  "@capacitor/core": "^8.3.0",
@@ -37,8 +37,8 @@
37
37
  "sql.js": "^1.14.1",
38
38
  "@bobfrankston/tcp-transport": "^0.1.4",
39
39
  "@bobfrankston/node-tcp-transport": "^0.1.4",
40
- "@bobfrankston/smtp-direct": "^0.1.3",
41
- "@bobfrankston/mailx-sync": "^0.1.6"
40
+ "@bobfrankston/smtp-direct": "^0.1.4",
41
+ "@bobfrankston/mailx-sync": "^0.1.7"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/mailparser": "^3.4.6"
@@ -86,7 +86,7 @@
86
86
  "@bobfrankston/iflow-node": "^0.1.7",
87
87
  "@bobfrankston/miscinfo": "^1.0.8",
88
88
  "@bobfrankston/oauthsupport": "^1.0.24",
89
- "@bobfrankston/msger": "^0.1.320",
89
+ "@bobfrankston/msger": "^0.1.322",
90
90
  "@capacitor/android": "^8.3.0",
91
91
  "@capacitor/cli": "^8.3.0",
92
92
  "@capacitor/core": "^8.3.0",
@@ -99,8 +99,8 @@
99
99
  "sql.js": "^1.14.1",
100
100
  "@bobfrankston/tcp-transport": "^0.1.4",
101
101
  "@bobfrankston/node-tcp-transport": "^0.1.4",
102
- "@bobfrankston/smtp-direct": "^0.1.3",
103
- "@bobfrankston/mailx-sync": "^0.1.6"
102
+ "@bobfrankston/smtp-direct": "^0.1.4",
103
+ "@bobfrankston/mailx-sync": "^0.1.7"
104
104
  }
105
105
  }
106
106
  }