{"slug": "checking-new-mail-is-not-task-management-when-an-ai-handles-your-email-give-each", "title": "Checking new mail is not task management: when an AI handles your email, give each email an ID and turn it into a task", "summary": "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.", "body_md": "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.\n\n**Series contents**\n\nTwo 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.\n\nThat 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.\n\nThe 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.\n\nEverything 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.\n\nNothing 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.\n\nThe 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.\n\nThis 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.\n\n`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.\nThe 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.\n\n\"Done\" was marked by hand in this test. Telling automatically whether a reply went out was not part of it.\n\nThe 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.\n\nIn 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.\n\nHandling 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.\n\nGmail 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.\n\nOur 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.\n\nIn 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.\n\nThe 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.\n\nThe second block forces one failure when the script saves its record of IDs, so the next run copies both messages again: four rows.\n\nIn 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.\n\nThe 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.\n\nWhat 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.\n\nLetting 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.\n\nIn 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.\n\nOur products are listed at [https://www.eln.ne.jp/products](https://www.eln.ne.jp/products)\n\n**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:\n\n→ [The 18 products EarthLink Network builds in-house](https://dev.to/uehara/the-18-products-earthlink-network-builds-in-house-hb1)\n\nFor more about the company and each product, visit [www.eln.ne.jp](https://www.eln.ne.jp).", "url": "https://wpnews.pro/news/checking-new-mail-is-not-task-management-when-an-ai-handles-your-email-give-each", "canonical_source": "https://dev.to/uehara/checking-new-mail-is-not-task-management-when-an-ai-handles-your-email-give-each-email-an-id-and-lgn", "published_at": "2026-11-29 04:40:51+00:00", "updated_at": "2026-11-29 04:42:39.648002+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "artificial-intelligence"], "entities": ["Aoshima", "Grok Bot", "note", "Shohei Terada", "Google Apps Script", "Gmail", "Google"], "also_reported_by": [], "takeaway": "Track actionable email by an ID-based open-items board keyed on due date and completion status rather than a new-mail-since-last-report list, and drop already-seen IDs so re-reads are not reported twice.", "recommendation": {"advice": "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.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/checking-new-mail-is-not-task-management-when-an-ai-handles-your-email-give-each", "markdown": "https://wpnews.pro/news/checking-new-mail-is-not-task-management-when-an-ai-handles-your-email-give-each.md", "text": "https://wpnews.pro/news/checking-new-mail-is-not-task-management-when-an-ai-handles-your-email-give-each.txt", "jsonld": "https://wpnews.pro/news/checking-new-mail-is-not-task-management-when-an-ai-handles-your-email-give-each.jsonld"}}