Install
openclaw skills install gmail-labelerGmail inbox triage, labeling, and safe archiving with gog plus a configurable lightweight LLM review layer. Use when building or running Gmail automation that separates actionable vs non-actionable mail, applies Gmail labels, archives low-value messages, keeps important human replies in Inbox, routes urgent items for notification, supports multilingual inboxes (English, Portuguese, Spanish), and needs a clean publishable skill with private local overlays kept outside the skill folder.
openclaw skills install gmail-labelerA production-oriented Gmail labeling workflow built around:
gog for Gmail accessKeep user-specific editorial, business, or inbox-policy rules in the local overlay, not in the shared skill defaults. Examples of local-only rules:
Classify sender as:
personcompanyperson_or_unknownThis keeps bulk automated mail cheap to classify and reserves deeper review for ambiguous or human-origin messages.
Treat Inbox as an action queue, not a reading queue. Recommended default:
Auto/TriagedPractical effect:
INBOX, keep Auto/Triaged, then add a best-fit category label (Notification, Newsletter, Receipt, Press Releases, etc.)Use heuristics first. Then send only ambiguity-band messages to a lightweight LLM review.
Recommended pattern:
If a message is clearly automated/company-origin but no specific filter matches, prefer a generic non-actionable classification (for example Notification) over leaving it untouched in Inbox.
Use a small canonical label set and avoid near-duplicates caused by translation, singular/plural, or typos. Example normalization targets:
Press Release → Press ReleasesAuto/Triaged as the universal processed markerUse Gmail system labels when possible:
CATEGORY_PROMOTIONSCATEGORY_UPDATESIMPORTANTSTARREDINBOXCreate custom labels only when needed, for example:
NewsletterNotificationReceiptOpportunityAction RequiredAuto/TriagedKeep the skill publishable by storing private configuration outside the skill directory.
Recommended local overlay path:
~/.openclaw/local/gmail-labeler.config.json
Store private values only in the local overlay:
Decision logs should live outside the skill source tree, for example:
/home/ubuntu/.openclaw/gmail-labeler-logs/
Recommended format:
Suggested daily review inputs:
references/default-config.jsonreferences/config-guide.mdreferences/filter-catalog.mdreferences/implementation-notes.mdreferences/logging-and-review.mdreferences/llm-review.mdreferences/cron-example.mdreferences/ain-email-review.schema.jsonscripts/gmail_labeler_runner.pyscripts/gmail_labeler_run.shBefore publishing: