Email triage

From vladkesler/initrunner · View interactive version

Email triage is an AI agent skill from the GitHub repository vladkesler/initrunner. Classify incoming emails into triage categories using content analysis, sender profile memory, and thread detection. Produces a category (URGENT, REPLY_NEEDED, FYI, NEWSLETTER, NOTIFICATION, SPAM) with confidence and reasoning.

How to use this skill

Skill file

Email triage classification skill.

When to activate

Use this skill when processing a new email that needs to be classified

for priority and action required.

Categories

| Category | Action | Slack alert |

|---|---|---|

| URGENT | Needs immediate attention | Individual, immediate |

| REPLY_NEEDED | Requires a response | Individual |

| FYI | Informational, no action | Batch digest (3+) |

| NEWSLETTER | Subscription content | Batch digest (3+) |

| NOTIFICATION | Automated system notice | Batch digest (3+) |

| SPAM | Unwanted, unsolicited | Never |

Methodology

1. Read the email

Read the full message with read_email. Note:

2. Check sender profile

Recall the sender from semantic memory:

recall("<sender email> sender_profile")

If a profile exists, use it to inform classification:

If no profile exists, create one after classification:

remember("<name>, <email>, first seen <date>, context: <topic>",
         category="sender_profile")

3. Content analysis

Scan the email body for signal indicators:

URGENT signals:

time-sensitive, action required, escalation

REPLY_NEEDED signals:

FYI signals:

NEWSLETTER signals:

NOTIFICATION signals:

SPAM signals:

4. Thread detection

Check if the email is part of an existing thread:

Thread context affects classification:

5. Check procedural memory for triage rules

Recall custom triage rules:

recall("<sender> triage_rule")
recall("<subject keyword> triage_rule")

User-defined rules always override the default classification.

6. Assign category

Use the think tool to reason through the classification:

If confidence is low, default to FYI rather than over-alerting.

MUST

MUST NOT

Message-ID)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.