
Security News
Rust 1.100 Will Add Dependency Cooldowns to Cargo
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.
dsh-email-reader
Advanced tools
OAuth2-capable IMAP email reader for DeepSeek Harness: list/read/search mail for accounts where password auth is disabled (Outlook post-2024), with automatic token refresh, app-password Gmail via optional proxy, and ol_email_* tools that coexist with the
给 DeepSeek Harness 提供三个模型可调用的邮件工具:列邮件、读全文、服务端搜索。支持多账号、OAuth2 与代理。
npm 包名
dsh-email-reader(dsh-email已被其他作者占用)。
微软从 2024 年 9 月起停止了对个人 Outlook.com 账号 IMAP 的基本认证(用户名+密码,含应用密码),只接受 OAuth2。 市面上多数邮件插件(含市场版 dsh-email)仍只支持密码登录,导致 Outlook 账号无法读取。本插件补上了这个缺口:
refreshToken + clientId 自动换取 access token,无需手动授权,微软禁用密码认证的账号也能读http://127.0.0.1:7892)访问 Gmailol_email_*(ol = Outlook)前缀,不与市场版的 email_* 撞名,两个插件可同时安装——市场版管 Gmail,本插件管 Outlookol_email_list — 列出收件箱最近邮件(发件人 / 主题 / 时间 / 旗标)ol_email_read — 读取单封邮件全文(含正文,自动解析 MIME,兼容 Outlook 服务器)ol_email_search — 服务端 IMAP 全文搜索,最新优先accounts[] 配置,account 参数切换{ ok, ... },绝不抛异常,配置错误不会拖垮宿主dsh plugin --profile web add dsh-email-reader
- insert:
- id: email-reader
name: dsh-email-reader
config:
accounts:
- id: outlook
host: outlook.office365.com
port: 993
user: you@outlook.com
refreshToken: "从 OAuth 授权流程获取"
clientId: "你的应用 Client ID"
tokenUrl: "https://login.microsoftonline.com/common/oauth2/v2.0/token"
mailbox: INBOX
- insert:
- id: email-reader
name: dsh-email-reader
config:
host: imap.example.com
port: 993
user: you@example.com
pass: your-app-password
tls: true
mailbox: INBOX
| 环境变量 | 含义 | 默认 |
|---|---|---|
DSH_IMAP_HOST | IMAP 服务器(必填) | — |
DSH_IMAP_PORT | 端口 | 993 |
DSH_IMAP_USER | 用户名 | — |
DSH_IMAP_PASS | 密码 / App 专用密码 | — |
DSH_IMAP_TLS | 是否 TLS | true |
DSH_IMAP_MAILBOX | 默认邮箱 | INBOX |
DSH_IMAP_OAUTH_REFRESH | OAuth refresh token | — |
DSH_IMAP_CLIENT_ID | OAuth client id | — |
DSH_IMAP_TOKEN_URL | OAuth token 端点 | — |
DSH_IMAP_PROXY | 代理地址(如 http://127.0.0.1:7892) | — |
- insert:
- id: email-reader
name: dsh-email-reader
config:
accounts:
- id: gmail
host: imap.gmail.com
port: 993
user: you@gmail.com
pass: your-app-password
proxy: "http://127.0.0.1:7892"
mailbox: INBOX
对模型说:
ol_email_listol_email_readol_email_search每个工具都支持可选的 connection 覆盖对象({host, port, user, pass, tls, mailbox}),一个插件可访问多个邮箱。
FAQs
OAuth2-capable IMAP email reader for DeepSeek Harness: list/read/search mail for accounts where password auth is disabled (Outlook post-2024), with automatic token refresh, app-password Gmail via optional proxy, and ol_email_* tools that coexist with the
The npm package dsh-email-reader receives a total of 0 weekly downloads. As such, dsh-email-reader popularity was classified as not popular.
We found that dsh-email-reader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.