adminbot-email-automation

Classifies and processes hourly Gmail messages with a local LLM and approval-gated effects.

1|3|Updated Jul 14, 2026
One-click install
npx skills add https://github.com/akhkim/adminbot --skill adminbot-email-automation-akhkim
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: adminbot-email-automation
Source: https://github.com/akhkim/adminbot/tree/main/openclaw-adminbot/extensions/adminbot/skills/adminbot-email-automation
Command: npx skills add https://github.com/akhkim/adminbot --skill adminbot-email-automation-akhkim

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Lab inboxes receive a constant stream of student inquiries, onboarding requests, calendar requests, reimbursement submissions, and talk announcements that require manual triage and repetitive replies. This Skill automates that hourly email processing while keeping strict authority boundaries and human review for anything ambiguous. ## Core Features & Use Cases - Hourly Gmail Processing: Selects messages from the exact preceding hour, classifies them with a loopback vLLM model using temperature zero and JSON-schema-constrained output, and records all state in SQLite. - Category-Based Actions: Handles student outreach replies, member onboarding (trial, direct, decline), calendar event creation, reimbursement form filling from templates, and LaTeX talk-entry generation. - Authority and Idempotency Controls: Only the actual Gmail From address grants authority, completed effects are never repeated, and ambiguous messages are recorded as needs_review instead of being guessed. - Use Case: A lab admin receives a reimbursement email with receipts; the automation fills the Compute_Expense_Form.xlsx and Trip_Summary_Form.docx templates and emails them with attachments to the contact address, leaving accounting and signature fields blank. ## Quick Start Ask the assistant to run the AdminBot email automation now and report the found, completed, needs-review, skipped, and failed counts.

Frequently Asked Questions about adminbot-email-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run the AdminBot email automation manually?▼

Call the adminbot_run_email_automation tool and wait for its terminal result. After it returns, report the found, completed, needs-review, skipped, and failed counts along with any returned errors.

How does the hourly email schedule work?▼

The schedule is an OpenClaw cron job, not a systemd timer, created with pnpm openclaw cron add and a cron expression like 7 * * * *. The cron tab in the Control UI shows run history, next-run time, and last error.

Which senders are authorized to trigger onboarding or calendar actions?▼

Only addresses listed in ADMINBOT_ONBOARDING_SENDERS can trigger onboarding decisions, and calendar, reimbursement, or talk-entry effects require those senders or addresses in ADMINBOT_CONTACT_EMAILS. If the variable is unset, the classifier fails closed.

What happens to emails the classifier cannot handle?▼

Ambiguous or incomplete messages are recorded as needs_review and stay in the inbox for a human. A message is marked read and trashed only after every effect succeeded and it is recorded as completed.

Does the automation prevent duplicate email actions after a crash?▼

Yes, each message and external effect has a durable SQLite row, and completed effects are never repeated. An effect left in started state after interruption requires manual review instead of automatic retry.