gmail-dsh
Run the following command in DeepSeek Harness:
dsh plugin install takasurazeem/gmail-dsh
Paste the following prompt into your AI chat to install this plugin:
Clone the repository at https://github.com/takasurazeem/gmail-dsh, add gmail-dsh to the bundles array in the profile package.json under ~/.dsh/profiles/web, then restart dsh web to activate the plugin.
About this plugin
Developers increasingly let DeepSeek Harness agents handle code, documentation, and multi-step workflows, yet a single unread email or a thread that needs a reply still pulls you back to the browser. gmail-dsh plugs Gmail directly into the harness tool runtime: the agent can search the inbox with native Gmail query syntax, read full messages including attachments and thread context, send thread-aware replies, and add or remove labels on individual or entire threads. There is no MCP server and no third-party runtime dependency—the plugin registers straight onto the harness tool, credential, and command systems.
Security is a first-class design constraint. Read operations execute silently; the two mutating tools, gmail_send and gmail_labels, return an approval request from the pre-execute tool hook that the harness approval service turns into a user-facing prompt showing the recipient, subject, or the label change and its target. When no approval service is mounted, mutating operations fail closed to denial, so the plugin is read-only in that deployment and can never send mail without a human who can say yes. OAuth uses Google Desktop client type with a one-shot loopback callback that only shuttles a short-lived authorization code; refresh tokens live solely in the DSH credential store, and multiple accounts can be authorized simultaneously, switched via an optional account parameter.
If your harness workflows already span research, drafting, and follow-up, and you want the agent to naturally check mail, read context, reply on your behalf, or tidy labels without a separate OAuth microservice or desktop app, gmail-dsh is the missing layer. Zero runtime dependencies, in-process credential management, and fail-closed write semantics make it safe in both lightweight local setups and shared team environments.
Use Cases
- Let the agent search and read relevant Gmail messages mid-workflow
- Have the agent draft a thread-aware reply that requires user approval before sending
- Bulk-add or remove labels on a message or thread, gated by a user approval prompt
Best For
- Engineers building AI workflows on DeepSeek Harness who want native mail access
- Developers who need Gmail integration without a separate OAuth microservice
- Tech leads enforcing strict approval gates and fail-closed semantics on all mutating AI actions
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.