@n24q02m/better-email-mcp 1.29.0 → 1.30.0-beta.2
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 +11 -0
- package/bin/cli.mjs +172 -97
- package/build/src/credential-form.d.ts +2 -2
- package/build/src/credential-form.d.ts.map +1 -1
- package/build/src/credential-form.js +90 -15
- package/build/src/credential-form.js.map +1 -1
- package/build/src/tools/helpers/config.d.ts +6 -2
- package/build/src/tools/helpers/config.d.ts.map +1 -1
- package/build/src/tools/helpers/config.js +61 -35
- package/build/src/tools/helpers/config.js.map +1 -1
- package/build/src/tools/helpers/html-utils.d.ts.map +1 -1
- package/build/src/tools/helpers/html-utils.js +3 -2
- package/build/src/tools/helpers/html-utils.js.map +1 -1
- package/build/src/tools/helpers/imap-client.d.ts.map +1 -1
- package/build/src/tools/helpers/imap-client.js +4 -1
- package/build/src/tools/helpers/imap-client.js.map +1 -1
- package/build/src/transports/http.d.ts.map +1 -1
- package/build/src/transports/http.js +10 -1
- package/build/src/transports/http.js.map +1 -1
- package/build/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -190,9 +190,20 @@ EMAIL_CREDENTIALS=user1@gmail.com:pass1,user2@outlook.com:pass2,user3@yahoo.com:
|
|
|
190
190
|
### Custom IMAP Host
|
|
191
191
|
|
|
192
192
|
```bash
|
|
193
|
+
# Custom hostname (default port 993, implicit TLS)
|
|
193
194
|
EMAIL_CREDENTIALS=user@custom.com:password:imap.custom.com
|
|
195
|
+
|
|
196
|
+
# Custom hostname with a custom port
|
|
197
|
+
EMAIL_CREDENTIALS=user@custom.com:password:imap.custom.com:1993
|
|
198
|
+
|
|
199
|
+
# Local IMAP proxy -- "localhost" is accepted as a host, even without a dot
|
|
200
|
+
EMAIL_CREDENTIALS=user@custom.com:password:localhost:1993
|
|
194
201
|
```
|
|
195
202
|
|
|
203
|
+
Each account can use its own host and port. A non-993 port is treated as
|
|
204
|
+
plaintext/STARTTLS -- the usual shape for a local IMAP proxy (for example
|
|
205
|
+
[email-oauth2-proxy](https://github.com/simonrob/email-oauth2-proxy)).
|
|
206
|
+
|
|
196
207
|
### Search Query Language
|
|
197
208
|
|
|
198
209
|
| Query | Description |
|