Email Triage AI Agent icon

Email Triage AI Agent

Classifies incoming email, drafts replies, and labels your inbox automatically.

Supported frameworks Claude AI OpenClaw
Free

What this agent does

Most inboxes aren't a prioritization problem, they're a classification problem — the important message from a client is buried under eleven newsletters and a calendar notification. This agent reads every new email, classifies it, and takes the boring, safe action so you only see what actually needs your judgment.

  1. inbox-classifier — labels every incoming email into one of your configured buckets (e.g. client, internal, newsletter, action-needed, spam-adjacent), using sender history, subject patterns, and message content.
  2. reply-drafter — for messages classified as needing a reply, drafts a response in your voice (using a short style sample you provide) and saves it as a Gmail/Outlook draft — it never sends automatically.
  3. inbox-labeler — applies the classification as a label/folder move so your inbox view is pre-sorted the moment you open it.

Every run appends a row to a triage log (sender, subject, classification, whether a draft was created) so you can audit what the agent decided and why.

Requirements

  • Gmail or Outlook/Microsoft 365 account with API access enabled (OAuth app registration — a one-time setup, documented in installation-prompt.md).
  • Works on OpenClaw (Gmail/Outlook plugin + scheduled trigger) and on Claude AI (Claude Code or claude.ai with Gmail connector enabled).
  • No paid classification API required — this runs entirely on your existing LLM access plus the mail provider's own API.

Setup

  1. Unzip the package into your workspace, keeping the folder structure intact.
  2. Authorize the Gmail/Outlook OAuth app using the steps in installation-prompt.md.
  3. Edit config/triage-rules.md with your classification buckets and a short writing-voice sample (3-5 sentences of your own past emails works well).
  4. Run a starter prompt from starter-prompts.md against your last 20 unread emails to sanity-check the classifications before automating.
  5. Schedule automation-prompt.md to run every 15-30 minutes during work hours.

What's included

  • Skills/inbox-classifier/SKILL.md, Skills/reply-drafter/SKILL.md, Skills/inbox-labeler/SKILL.md
  • config/triage-rules.md — editable classification buckets and voice sample
  • config/triage-log.md — append-only classification log
  • installation-prompt.md — Gmail/Outlook OAuth setup walkthrough
  • automation-prompt.md — recurring schedule instructions
  • starter-prompts.md — example prompts for a manual dry-run pass
  • assets/ — pipeline diagram
Free
  • Version 2.0.1
  • File size 9 KB
  • Format .zip package
  • License Personal use

ℹ️ Never auto-sends — drafts only, you review and hit send.

Link copied!