OpenClaw at Work: Email Triage and a Daily Morning Briefing
Connect Gmail to your deployed OpenClaw, let it auto-label mail and summarize unread messages by your rules, then use a cron job to push a morning briefing — calendar, mail digest, and to-dos — at 8 AM every day. Start with the /tutorials/deploy-local/ tutorial if you haven't deployed yet; see /office-agents/openclaw/ for an overview of OpenClaw.
Prerequisites
- A deployed OpenClaw instance (see the /tutorials/deploy-local/ tutorial)
- A Gmail account
- A configured model API key
Steps
Connect your Gmail account
OpenClaw ships with a native Gmail integration that can read, draft, and manage your inbox. Start the connection from the admin UI and complete the Google OAuth flow when prompted.
Tips
- • For the first connection, use a test mailbox and switch to your primary one only after the behavior checks out
- • If authorization fails, first confirm your deployment can reach Google services
Add safety guardrails to SOUL.md
SOUL.md is where OpenClaw's persona and rules live. Add a hard rule: any outgoing email must be drafted first and wait for human confirmation before sending. This community best practice effectively prevents misdirected emails.
Tips
- • The more specific the rule, the more reliable — e.g., 'Never send, reply to, or forward any email without my confirmation'
- • After editing, ask OpenClaw to recite the rule to confirm it stuck
Set up email triage rules
Tell OpenClaw in plain language how you want mail sorted: auto-label by sender or subject, and roll unread messages into a short digest. No code required.
Tips
- • Start with just a few labels (e.g., 'clients', 'bills', 'notifications') — far easier to maintain than a dozen categories on day one
- • When a message is mislabeled, tell OpenClaw the correct answer and let it adjust the rules
Schedule the 8 AM morning briefing
Create a cron job so OpenClaw gathers today's calendar, a mail digest, and your to-dos every morning at 8, then pushes the briefing to your WhatsApp or Telegram.
Tips
- • Have the briefing follow a fixed template so you can scan it at a glance
- • Add a failure notification to the cron job so a missed briefing surfaces immediately
Cap API usage to lock down costs
Triage and the daily briefing keep burning model calls, so set a usage cap in OpenClaw up front. Community members have shared real cost-runaway incidents (nicknamed the '$120 disaster') — don't let your bill be the first to notice.
Tips
- • Set the cap low first, watch real usage for a week or two, then raise it gradually
- • Also set a hard spending limit at your model provider as a last line of defense
Expand gradually: drafts first, automation later
For the first week, only watch draft quality and confirm every email by hand. Once drafts are consistently good, gradually enable low-risk actions like auto-labeling and auto-archiving.
Tips
- • Enable actions one at a time in this order: labeling → archiving → drafting replies, observing each for a few days
- • Keep human confirmation on anything that sends email externally — permanently