AI Agent Hub
Back to plugins
🧰

dsh-mail-assistant

Web Tools Updated 2026.09.01

Run the following command in DeepSeek Harness:

dsh plugin install freedomkk-qfeng/dsh-mail-assistant

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install freedomkk-qfeng/dsh-mail-assistant in the DeepSeek Harness terminal to install; the project source is available at https://github.com/freedomkk-qfeng/dsh-mail-assistant

About this plugin

Teams often want an Agent to pull a key email, summarize it, or draft a plain-text reply right inside the conversation, yet they dread handing a full mailbox write permission to an auto-executing tool. dsh-mail-assistant draws the smallest viable boundary: it does exactly five things, list folders, search with pagination, read plain-text body and attachment metadata, save an attachment into the session workspace, and send or reply with plain text, while deliberately excluding delete, move, archive, read/unread toggling, contacts, rules, background polling, auto-reply, and full mailbox UI. The Agent checks a message when needed, confirms and sends a reply when asked, and leaves everything else to a real mail client.

Security is the starting point, not a patch. After installation both read and send permissions are off by default and no mailbox connection is made at startup. IMAP always uses a read-only lock, never calling STORE, MOVE, or EXPUNGE. Email bodies, subjects, addresses, and attachment names are all flagged as untrusted external data that cannot authorize sending or alter system rules. Sending is restricted to plain text with newline-injection rejection on recipient fields. TLS certificate verification cannot be disabled, and if the SMTP DATA phase drops, the plugin returns unknown and explicitly forbids the Agent from auto-retrying to prevent duplicate sends.

It is well suited to teams working in isolated environments or dedicated test mailboxes who want Agent-assisted email handling, and to organizations that require per-action confirmation or tiered Full Access authorization with a clear compliance review before connecting important inboxes. The current release is a 0.1.0-alpha preview; connecting production mailboxes should still be preceded by the organization's own security and compliance evaluation. Mailboxes that enforce OAuth2-only authentication are not yet in scope for v0.1.

Use Cases

  • Let the Agent search mail by subject or sender with pagination and summarize the plain-text body
  • Save an email attachment into the session workspace with a random filename for further analysis
  • Reply to a sender with a plain-text email after per-action confirmation, attachments restricted to the workspace

Best For

  • Teams in isolated or dedicated test environments seeking Agent-assisted email handling
  • Organizations requiring per-action confirmation or tiered Full Access with strict compliance
  • Developers who want Agent to query and reply to mail without granting full mailbox write access