Menu

1 / 2

How I auto-triage 200 emails a day with Aider and Nylas

DEV Community·Qasim Muhammad·6 months ago
#fhU5S3h8
#why#aiagents#action#triage#email
Reading 0:00
15s threshold

My inbox averages 200 messages a workday. Half are noise. A quarter need a fast acknowledgement. The remainder need real work. The split is mostly stable, so the triage rules are mostly stable, so it is a good fit for an LLM.

I wired Aider to it. Aider is the AI pair-programming CLI — it has a shell, it can call commands, and it speaks Python natively. Pairing it with the Nylas CLI gives a triage pipeline that runs on my laptop in the background and surfaces only the messages I should personally read.

The triage rules

Three buckets:

Bucket Action What lands here

🔥 Action Star, leave unread Customer escalations, oncall pages, anything from my CEO

👀 Skim Mark read, archive Newsletters, build notifications, "FYI"

🗑 Drop Mark read, archive, mark spam if confident Cold sales, recruiter spam, marketing

A modest LLM gets these right >95% of the time.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.