Use Case 6: Urgent Email Detection and Intelligent Meeting Scheduler
Requirements
Openclaw agent monitors email for urgent messages
Generates an email summary taken from the urgent email using LLMs
A Telegram notification is sent to the user's phone with the AI-generated summary
Calendar + todo: Agent asks the user for confirmation first.
Only after confirmation, creates a calendar event + an agenda/todo list
Tools/Skills Required:
Gcloud Pub/Sub
Gog (Gmail event watcher & webhook handler)
Openclaw hooks [gmail preset]
Tailscale serve running for public HTTPs endpoint (openclaw recommended: for secure endpoint)
Recommended Architecture: [Gateway on Local PC + LLM on Hulk Machine]
Why
Gateway running on Local PC enables real-time email monitoring with openclaw gmail hooks and webhook handlings.
LLM runs on Hulk Machine and summarization & processing offloaded to Remote Machine
This setup allows for more control over the local triggers (email events, webhooks).
Tailscale + webhooks ensure safe communication between Gmail and Gateway to LLM Hulk.
Openclaw hooks configures following,
Default model and model thinking level for Gmail hooks in config file.
Chat surface – where the gmail summary should be delivered (e.g., telegram/last-used-channel)
Tool Exec flow
Gmail hooks detect incoming emails using openclaw webhook system
Gog + Pub/Sub workflow pushes email event to Local Gateway
Gateway handles email and classifies it based on the configured setting
If urgent:
Email is summarized using LLM running on Hulk Machine.
LLM also extracts Action Item and suggests meeting an agenda to generate structured output that also contains an agenda.
Summary sent back to configured chat channels (Telegram/UI)
Agent System request for user confirmation
When confirmed:
Calendar event is created
Todo/agenda list is generated and stored