OllaSuper
⚡ Agents Inbox Triage
Ops · openfang Agent

Inbox Triage Agent

Every 15 minutes, classifies new inbound messages, drafts replies for routine ones, escalates the rest with full context.

Chat with this Agent → How it works
Schedule
Every 15 minutes
Model
OpenAI GPT-4o-mini
openrouter/openai/gpt-4o-mini
Approval
Drafted replies require your approval before send
Replies land in outbox/drafts/<thread>__reply.md. Escalations bypass — they're informational only. Spam is moved to inbox/spam/ silently.

What it does

Every 15 minutes, scans inbox/unread/ for new YAML+markdown messages. Classifies each by intent (question / complaint / billing / sales / spam), urgency (P0_blocking → P3_whenever), sentiment, and requires_human flag. For routine messages, drafts a reply (capped at 200 words, matches sender's formality). For anything mentioning refund / lawyer / cancel / GDPR / breach, escalates instead of drafting — and prepends an ALERT line for angry P0s.

Tools it can use

filesystem
file_read Read incoming messages from inbox/unread/
file_list Find new messages each run
file_write Draft replies in outbox/ or escalations
memory
memory_store Per-thread classification history
memory_recall Sender history before drafting

Workspace

Paths under /var/lib/openfang/workspace/ this Agent reads or writes:

inbox/unread/inbox/spam/outbox/drafts/escalations/reports/inbox/shared.inbox.*

Sample interaction

You
Triage now.
Inbox Triage Agent
**1 message processed · 1 escalated · 0 drafts · 0 spam** **Escalation written:** escalations/P0_blocking__t_refund_test_001.md From [email protected] / Subject: Where is my refund?? Classification: complaint · P0_blocking · angry · requires_human=true Key snippets: - "I cancelled 30 days ago and you charged me again." - "If not resolved by tomorrow I am calling my lawyer." Recommended owner: support_lead. ALERT prepended (P0 + angry). **Top items needing eyes:** the escalation above. No drafts pending.