Built a new OpenClaw plugin: openclaw-gws
The thing I wanted was simple: real-time Gmail delivery to an OpenClaw agent.
Normally you either:
- open up ports and wire up webhooks
- or burn tokens forever on a polling cron just to notice a new email
This plugin gives you a push-based Gmail watcher instead.
It uses the Google Workspace CLI to watch Gmail in real time, keeps the agent asleep until something actually arrives, and then delivers sender/subject/snippet straight to the configured OpenClaw agent.
What’s nice about it:
- no idle token burn between emails
- real-time Gmail delivery via
gws gmail +watch - routes to a specific OpenClaw agent
/gws status,/gws pause,/gws resume- ships with a simple plugin skill so the agent understands the watcher workflow
A couple caveats:
- current OpenClaw releases require
--dangerously-force-unsafe-installbecause the plugin shells out to localgwsandopenclawCLIs - if you uninstall/reinstall it, you need to set the project config again
Published here:
npm: https://www.npmjs.com/package/openclaw-gws
GitHub: https://github.com/ethanbeard/openclaw-gws
ClawHub: https://clawhub.ai/plugins/openclaw-gws