You can also connect Gmail to OpenClaw through Google Cloud Pub/Sub. The pipeline has 3 stages. First, enable Gmail Watch on your mailbox to push notifications to a Pub/Sub topic whenever new mail arrives. Second, create a Pub/Sub push subscription that forwards messages to your OpenClaw /hooks/agent endpoint.
Third, configure the agent message to process the email. The Pub/Sub payload includes the message ID and history ID. Your agent uses these to fetch the full email via the Gmail API, then acts on it. You might auto-label emails, draft replies, or extract action items into your task list.