#Real time Gmail delivery without webhooks or cron

1 messages · Page 1 of 1 (latest)

vernal harness
#

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-install because the plugin shells out to local gws and openclaw CLIs
  • 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

north trellis
#

interesting, I'm going to try this out. Thanks for sharing!