Labs home Workflow spec Screenshot

Build notes

Unread Message Triage Agent

A practical implementation plan for an agent that reviews approved communication sources, identifies what may be critical, recommends next actions, and creates human-reviewed drafts without sending texts.

May 30 notes prepared
Draft only send boundary
Local first privacy posture
4 outputs wait, draft, nudge, escalate

Project premise

Message overload needs decision support, not more notifications.

User problem

"I have a lot of unread messages. I need to design an agent and workflow to make sure I am not missing anything critical."

The build turns that premise into a governed agent workflow: inspect approved sources, classify risk, explain why something matters, and prepare reviewable drafts or task recommendations.

Privacy-reviewed screenshot showing unread badge counts across communication apps
Privacy-reviewed exhibit used in the white paper. It shows app icons and unread badge counts only, with no message bodies, sender names, phone numbers, email subjects, addresses, or account identifiers.

Build goals

What the agent should actually do.

Goal 01

Find critical items

Identify messages that may involve deadlines, logistics, safety, money, work obligations, appointments, travel, bills, relationship repair, or unanswered direct questions.

Goal 02

Separate signal from noise

Filter out obvious automated traffic, marketing messages, verification codes, low-priority alerts, stale threads, and items that do not require human action.

Goal 03

Create draft-only actions

Recommend wait, reply, nudge, no further contact, or request more context. For texts, the agent creates drafts only; the human reviews, edits, and sends manually.

Operating boundary

The agent assists judgment. It does not take over relationships.

Allowed
Read approved local context, classify urgency, summarize threads, recommend next actions, create draft text, and log the recommendation.
Not allowed
Send texts, contact third parties, pretend a draft has been sent, pressure the human, or continue follow-up after a stop-contact recommendation.
External actions
Anything that leaves the machine or reaches another person requires explicit human confirmation and must be outside this draft-only text workflow.
Privacy rule
Use local message data and local notes for thread review. Do not use web search, upload screenshots, or paste private message content into outside services for this workflow.

System design

Reference architecture for the first working version.

Layer 01

Intake

Connect only approved sources: local Messages database, manually supplied screenshots, Gmail if requested, calendar if requested, and user-provided relationship context. Each source gets a clear read/draft/send permission label.

Layer 02

Filtering

Remove short codes, verification messages, marketing blasts, obvious bots, duplicate notifications, stale non-actionable threads, and threads where the latest visible context already resolves the issue.

Layer 03

Classification

Classify remaining items by urgency and type: low urgency, practical urgency, emotional sensitivity, repair needed, stop-contact, missing context, VIP thread, or possible critical item.

Layer 04

Decision

Apply rules for response timing, prior follow-ups, deadlines, tone, unresolved asks, and VIP status. The agent should explain the recommendation in one to three grounded reasons.

Layer 05

Output

Return a review package with recommendation, why, suggested timing, draft option, alternate draft if useful, risk note, and human-review-required flag.

Execution flow

The workflow from unread count to useful action.

Step 01

Scan

Collect recent approved messages and metadata: sender, timestamp, direction, unread status, attachments present, and thread recency.

Step 02

Prioritize

Rank by criticality signals, VIP status, deadlines, unanswered direct asks, and practical dependency.

Step 03

Review

Read enough thread context to avoid false positives and avoid making recommendations from metadata alone.

Step 04

Draft

Create concise draft options only when a reply or nudge is appropriate. Otherwise recommend wait or no action.

Step 05

Report

Send a summary back to the human with suggested actions and local file references. No text messages are sent to anyone else.

Decision model

Rules that keep the agent useful and sane.

Wait

If fewer than 24 hours have passed since the last outbound text and there is no practical deadline, recommend waiting.

Light nudge

If 24 to 48 hours have passed, the person is usually responsive, and the thread is not emotionally escalated, prepare one low-pressure draft.

Urgent draft

If plans, timing, money, health, work, travel, or safety depend on a reply, prepare a direct logistical draft regardless of elapsed time.

Careful repair

If the thread involves conflict, vulnerability, apology, anxiety, rejection, or repair, prioritize calm accountable language and avoid demanding reassurance.

Stop contact

If two follow-ups have gone unanswered or the other person set a boundary, recommend no further message unless there is concrete safety or logistics context.

Need context

If important facts are missing, ask for the minimum missing detail instead of guessing motives or over-reading the thread.

Build artifacts

Current project files and what each one is for.

Labs project page
unread-message-triage-agent.html
Published public build-notes page for the unread-message triage agent concept.
Privacy-reviewed exhibit
unread-messages-privacy-reviewed.png
Screenshot asset showing unread badge counts only, with private message details excluded.
Workflow spec
human-reviewed-text-thread-followup-workflow.md
Reusable draft-only operating rules for text-thread review.
Local source materials
The editable white paper and Word draft stay in the local OpenClaw workspace unless explicitly prepared for public release.

Implementation backlog

What to build next if this moves from concept to working agent.

V1

Manual review command

Run on demand for the last 7, 30, or 60 days. Produce a local Markdown report of follow-up candidates, nudge candidates, critical items, and no-action threads.

V2

VIP rules

Add a human-maintained VIP list with stricter alerting thresholds, lower tolerance for missed direct asks, and higher priority in the daily summary.

V3

Heartbeat triage

Check a small number of priority sources during heartbeat windows and only notify the human when something is urgent or has waited too long.

V4

Draft queue

Create a local review queue of suggested replies with status fields: pending review, edited, sent by human, skipped, waiting, or closed.

V5

Audit log

Log what was reviewed, why an item was flagged, what draft was created, and what the human decided. Keep sensitive content minimized.

V6

Cross-channel expansion

Add email and calendar checks only after the text workflow behaves well, with source-specific privacy and permission boundaries.

Quality checks

How to know the workflow is working.

Precision

The agent should not flood the human with low-value nudges. A small, credible list beats a long anxious one.

Recall

The agent should catch obvious practical urgency: plans, appointments, bills, work asks, travel, safety, or direct unanswered questions.

Tone safety

Drafts should sound human, short, grounded, and non-pressuring. Emotional threads need extra caution.

Privacy

Private thread content should stay local to the workflow and should not be used for web search or external sharing.

Human control

The final action must always belong to the human for texts. The output is a recommendation and draft, not an autonomous send.

Failure mode to avoid

The agent should not become a social-pressure machine. "Do nothing" is a valid and often correct recommendation.