[简体中文](README.md) · **English**
# Email
**Handle mail in DSH and review replies before sending.**
[](https://www.npmjs.com/package/dsh-email) [](https://www.npmjs.com/package/dsh-email) [](https://www.npmjs.com/package/dsh-email)
**[Install](#install) · [Workflow](#start-using-it) · [Full guide](https://github.com/STARDUSTLC666/dsh-email/blob/main/docs/REFERENCE.en.md)**
## Features
- Use IMAP/POP3/SMTP, Outlook OAuth or AgentMail accounts.
- Read messages, search and download attachments in the workbench.
- Review the sender, To/Cc, content and attachments before confirming.
See a workbench example

Actual interface with controlled validation data; the PPTX image is a rendered sample when shown.
## Install
Open **Plugins** in the DSH desktop app and install `dsh-email`. If the CLI is available:
```bash
dsh plugin --profile desktop add dsh-email
```
For the web profile, replace `desktop` with `web`. Restart that DSH profile after installation. The package’s DSH requirement is `>=0.2.1-rc.3`.
## Start using it
1. Open Email account settings and configure your own IMAP/SMTP, OAuth or AgentMail account.
2. Test the connection, select an account and browse Inbox and Sent in the mail workbench.
3. Search and open a message, inspect its body and attachments, then ask for a reply draft without sending.
4. Edit, save and preview the draft; verify To/Cc, attachments and sending account before confirming.
5. Verify the result in Sent or the original thread. Recipient deny rules continue to take precedence.
Example request:
> Read this message and prepare a reply draft. Do not send it yet.
## Before you start
Bring your mailbox authorization or AgentMail API key. POP3 has protocol-specific state and search limits. When the network only reaches a mail server through a proxy, add `proxy` to the account (or set `HTTPS_PROXY`); see the [usage guide](https://github.com/STARDUSTLC666/dsh-email/blob/main/docs/USAGE.en.md).
Configuration, detailed tools and troubleshooting: [full reference](https://github.com/STARDUSTLC666/dsh-email/blob/main/docs/REFERENCE.en.md).
## Plugin updates
Check updates at the bottom of the workbench or native plugin details. Automatic checks are on by default; **automatic installation is off**. You choose whether to install and when to restart. Suite-managed components update with their bundle. [Update behavior](https://github.com/STARDUSTLC666/dsh-email/blob/main/docs/REFERENCE.en.md).
## Documentation
- [Full usage, configuration and limits](https://github.com/STARDUSTLC666/dsh-email/blob/main/docs/REFERENCE.en.md)
- [Release notes](https://github.com/STARDUSTLC666/dsh-email/blob/main/CHANGELOG.md)
- [Validation scope and history](https://github.com/STARDUSTLC666/dsh-email/blob/main/docs/VALIDATION.md)
## Feedback and contributions
If the plugin helps, a Star makes it easier for others to discover. Report problems or suggest improvements in [Issues](https://github.com/STARDUSTLC666/dsh-email/issues); code and documentation [PRs](https://github.com/STARDUSTLC666/dsh-email/pulls) are welcome. Include versions and reproduction steps, and remove credentials from reports.
## License
[MIT](https://github.com/STARDUSTLC666/dsh-email/blob/main/LICENSE)