cd /news/ai-agents/checking-new-mail-is-not-task-manage… · home › topics › ai-agents › article
[ARTICLE · art-177977] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Checking new mail is not task management: when an AI handles your email, give each email an ID and turn it into a task

A developer building an AI office for a small business demonstrated that a new-mail-only reporting loop silently drops deadlines, and showed that giving each actionable email an ID and tracking it on an open-items task board keeps due work visible. In a test program run on the company Mac, the new-mail list returned nothing on day 4 while the task board still surfaced the email due that day, and dropping already-seen IDs prevented re-read mail from being reported twice. The test was prompted by a note post by Aoshima, who found Grok Bot's weekday email summaries lost an RSVP deadline after reporting it once.

recommendation

Give every actionable email an ID and a task-board entry with due date and explicit completion, instead of relying on a new-mail-since-last-report loop that marks items done after one mention.

more in playbook: Designing agent systems
by read7 min views5 publishedNov 29, 2026

This is part 9 of the series "Running a Small Business with AI Employees, and Keeping the Cost Down." At the end of the series, I plan to give away the Paperclip settings, instructions and setups I use, for free.

Series contents

Two emails. One needs a reply by day 4. On the morning of day 4, a report of new mail lists 0 items, and the program that made it has no bug. The email was reported once, on an earlier day, and from then on it counted as done. Nothing recorded whether anyone had dealt with it.

That is what you get when the AI that reads your mail only checks what is new. Checking new mail answers "what arrived since last time". Task management answers "what is not finished yet". An AI worker in our own AI office (the setup where we hand company tasks to AI workers) reproduced the gap with a short program and two made-up emails, and compared it with a list that gives each email needing action an ID and turns it into a task, in effect a small task board.

The program used no real inbox, and no AI read the mail. The point was to find what has to be on record so a deadline cannot disappear, before asking which AI to trust with email.

Everything up to day 3 counts as already reported. On the morning of day 4, the program picks mail that arrived after the last report. Email 1 was already reported, so it is left out, exactly as designed. Email 2 was reported too. The list is empty on the very day Email 1 is due.

Nothing in that setup says Email 1 was answered. It only says Email 1 was reported. Catching every new email and keeping track of work that still needs doing are two different jobs, and the new-mail list only does the first.

The same two emails also went into an open-items list, a small task board. Each email that needs action gets an ID and becomes a task; here the email ID serves as the task ID. The list goes by whether a task is done and when it is due, not when the email arrived. On day 4, that list held Email 1. After Email 1 was marked done, the same run gave 0.

This is the output of that program, run again on our company Mac. It is the email part of the AI office's test code, taken out and run on its own.

day4_new_only, new mail on day 4: empty. day4_open_due, open tasks that are due: m1. after_explicit_completion, after marking it done: empty. The last line, overlap_window_after_dedup, checks one more thing: what happens when a re-read includes mail already seen. Of three made-up emails, the one already seen was dropped by its ID and the two new ones stayed. Re-read mail is not reported twice as long as seen IDs are dropped.

"Done" was marked by hand in this test. Telling automatically whether a reply went out was not part of it.

The trigger for this test was a post by Aoshima on note, a Japanese blogging platform. Aoshima had Grok Bot send a summary of email and calendar at 8:30 every weekday morning for a week, and read every report.

In a section titled "the deadline that vanished", Tuesday's report listed an RSVP to a networking event as needing a reply, with the reply deadline. On Friday, the deadline itself, the report did not mention it. The bot had been told to report mail that arrived since the last report, so an email reported once never came back. One mention on Tuesday, and the item counted as done. The bot did what it was told; whether Tuesday's item was actually done was in neither the instructions nor any record. Aoshima wrote that the morning report only ever held each morning's new mail, not the list of things to handle.

Handling records by date instead of by ID can also make an email that was already copied get copied again. The second case is a Google Apps Script by Shohei Terada, also published on note, that copies Gmail messages into a spreadsheet. It records the ID of every message it copies so it never copies one twice. To keep that record small, it deletes IDs of messages received more than 7 days ago.

Gmail search returns threads, not single messages. Google's own reference says search returns a list of threads, and the script walks through every message in each thread it gets back.

Our AI office worker ran this script with Gmail and the spreadsheet replaced by in-memory stand-ins, so no real mail was read. One thread held a message from over a month earlier (old) and one from the day before (new). The script ran twice in a row. This is the output, run again on our company Mac.

In the first block (injectedFailure: false), two normal runs left two rows, then three. The copied IDs are old, new, old: the old message went in again.

The date the script keeps with each ID is the date the message was received, not the date it was copied. So at the end of the first run, the record for old is deleted right after it is copied, because old was received more than 7 days ago. When the second run gets the same thread back, old looks like something never copied. Any time search returns a thread with a fresh reply in it, this can happen.

The second block forces one failure when the script saves its record of IDs, so the next run copies both messages again: four rows.

In both runs, the spreadsheet and the record of what was copied are kept apart, and a drift between them means a second copy. In the first block, an email that had already been copied turned back into one not yet copied, depending on a date.

The morning report used "older than the last report", and the script used "older than 7 days", as a stand-in for "already handled". Whether mail is new depends on when it arrived. Whether work is done does not.

What is left is deciding what "done" means. Some requests end when you send a reply. Others end only when the other side agrees. Closing a task the moment a person sends one reply repeats the same miss as the new-mail report. A person sets that rule for each kind of task, and anything a machine cannot settle stays on the list as something to check.

Letting an AI check your new mail does not, on its own, keep track of your work. The AI reads and summarizes what is new. Turning each email that needs action into a task with an ID, and keeping whether it is done on record task by task, is something you set up before you hand the work over.

In this series, I show how a sole proprietor or a small company can split everyday work among AI workers ("AI employees") while people only check and approve. We start within ordinary subscriptions and estimate the cost with simple formulas. Coordinating AI workers with approvals in a tool like Paperclip costs more than using the AI directly, so I also show how to bring that cost close to the direct price. At the end of the series, I plan to give away the Paperclip settings, instructions and setups I use, for free. If you are interested, please like and follow.

Our products are listed at https://www.eln.ne.jp/products EarthLink Network builds its own products to run the whole company on AI — each one born from a need along the way. See the full index of what we build:

→ [The 18 products EarthLink Network builds in-house](https://dev.to/uehara/the-18-products-earthlink-network-builds-in-house-hb1)

For more about the company and each product, visit [www.eln.ne.jp](https://www.eln.ne.jp).
── more in #ai-agents 4 stories · sorted by recency
── more on @aoshima 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/checking-new-mail-is…] indexed:0 read:7min 2026-11-29 · —