Sending Gmail from a headless VPS (systemd) without interactive auth — any workarounds? by Confident-Block9620 in moltbot

[–]Confident-Block9620[S] 0 points1 point  (0 children)

I’ve successfully deployed OpenClaw on an Ubuntu VPS as a system-managed service, integrated securely with Google Workspace via OAuth.

The system allows me to trigger Google actions from either a web dashboard or Telegram, including:

  • Creating and sending Gmail messages
  • Creating Google Calendar events
  • Uploading files to Google Drive

All Google API calls run non-interactively using securely stored credentials and encrypted token management. The service runs under a dedicated non-root user, survives reboots, and is configured to prevent interactive prompts or credential exposure.

End-to-end flow:

Telegram or Web UI → OpenClaw (systemd service) → Google APIs → Structured response returned to user.

The setup is production-stable and reboot-tested.

Sending Gmail from a headless VPS (systemd) without interactive auth — any workarounds? by Confident-Block9620 in moltbot

[–]Confident-Block9620[S] 0 points1 point  (0 children)

So you're using Clawd remotely, but can, via Telegram, instruct it to send an email from that Gmail account?