Turns out AI is the perfect technology for one of the most pernicious time wasters of modern times — email.

Email — The Time Sink
We invest too much time in managing our email inboxes. Searching through email is an unavoidable aspect of the modern workplace. We all have struggled with finding the information we need from a sea of messages. We typically start with some information, maybe the sender’s name, from which we can filter the immense pile of unrelated messages. From there, we dive deeper, perhaps with additional filters or simply opening up threads and skimming through the content until we get what we seek. Sometimes, the process is quick, but sometimes, it isn’t, absorbing an inordinate amount of time and causing unhealthy amounts of stress and frustration. Studies over the past decade estimate the cost of email inefficiency anywhere from $10,000 to $20,000 per employee per year!*
Metaphorically what we are trying to do is find needles (information) in haystacks of content (our inboxes). If this metaphor seems familiar nowadays, it is because we are in the midst of an AI revolution whose signature ability is exactly the uncanny facility to extract information from vast amounts of information — all with a natural language, conversational interface.
For over a decade, mxHERO has dedicated itself to making email more secure and its information more available. The rapid advances of LLM AI in the last couple of years offer an unprecedented opportunity to reduce and eliminate our perennial struggle with email as a repository of vital content.
mxHERO has been developing AI-powered email search technology to help organizations of all sizes gain easier access to the key information stored across multiple email accounts. Unlike tools like Microsoft Copilot or Google Gemini, which offer AI search on a per-account basis, mxHERO is solving the challenge companies have with finding information specific to functional areas, like interactions with customers, project communications, or any other business process that represents collective effort and benefits from recall across many participants.

We have incorporated this technology into our Chat4Email product. From our experience in developing Chat4Email, we share key observations of how AI can be (and cannot be) effectively applied to the email use case. Many of the observations are true for any implementation of applied AI, even unrelated to email.
Let’s dive in!
The Goal
Before discussing how to apply AI to email, we need to define our goal. Below is a one-minute video explaining the core concept. Essentially, it is to provide a ChatGPT-like experience for a collection of emails.
In the same way you query ChatGPT, “What is the capital of Poland?”, you could ask, “Find the email Bob sent last month about the latest project XYZ contract, and summarize it.” Here we see several benefits of using AI with email:
- Ergonomic search with a natural language question instead of a query language. “Find the email …” versus “from:bob after:xxxx before:yyyy”
- Semantic search. Correctly built, the solution will look for keywords and search for text pattern matches and matches in meaning. In the email, a “contract” might be referred to as an “agreement.”
- Summarization. AI can not only retrieve content, but it excels in summarizing it.
In other words, we want to get what we want from our emails simply by asking for it.
Think Captain Picard talking to the Starship Enterprise, “Computer, …!” What we want is “Inbox, …!”

Email — It’s All About Scale
Few technologies are as voluminous as email, and this poses a challenge for AI solutions. LLM models are constrained by their context windows, limiting how much they can analyze at any time. Although context windows have been continuously increasing, even the 2 million token context window of Gemini 1.5 would only be able to fit a couple of hundred emails — less than a week of emails for the average professional.
Fortunately, leveraging email’s natural metadata, like From, To, and Date, can significantly reduce the scope of content for LLM analysis. For this reason, Chat4Email uses a multi-stage architecture. The first stage uses the LLM to identify search fields based on the user’s query. Then, with these fields, it executes a search, which takes us to the importance of tools.
Tools Needed
A naive approach to AI is to assume that given content, AI can “understand” it and respond to almost any query. Even when the amount of content is within the context windows, our tests show that LLMs have a hard time leveraging basic metadata like email dates. Asking an LLM to search email from a specific month rarely worked in nearly every test we ran. What works much better is providing the LLM with search tools, which can accurately narrow the amount of data required. A tool can be custom developed for a specific type of data. In the case of email, for example, dates can be standardized (e.g., RFC3339) and indexed for accurate querying over a range. Much like we humans, LLMs perform better when provided with the right tools for the job.

So Chat4Email’s architecture first starts with an LLM analysis of the user’s query to extract search fields, then uses those fields in a tool. This is the typical LLM RAG architecture, but in this case optimized for email data. We also account for the fact that users search through email in different ways. Sometimes, a user is looking for a listing of messages: “What emails did sales get yesterday?” It can be a summarization request, “Summarize the email thread from Alice,” or more statistical, “How many emails did Mark send last week.” A search can be contextual, such as “Were there any service complaints last week?” Each query benefits from different retrieval strategies that optimize the returned information for LLM inference.

Human Ingenuity and AI Tools: A Powerful Combo
This architecture, combining AI inference with human orchestration, highlights a key observation regarding AI in the near future. AI is not a standalone technology poised to replace humanity (…yet). Impressive as it is, its most significant value exists as a component of a broader system. AI is a tool that brings novel capabilities that enable new solutions to existing problems when judiciously applied. In this article, we show how we can leverage AI to improve our lives by making email information retrieval more efficient and, by extension, giving us the greatest gift of all: more time!
*Additional sources
- “The social economy: Unlocking value and productivity through social technologies”, McKinsey Global Institute
- “If You Think Email Is Dead, Think Again“, Adobe, Inc.
- “Email Statistics Report, 2023–2027“, Radicati Group, Inc.