← Latest papers
💻 computer science

Beyond Keywords: Intent-Aware Message Routing for Gmail and Slack Using Large Language Models

This paper presents the design, implementation, and preliminary evaluation of an intelligent message routing system for Gmail and Slack that leverages the LLaMA 3.1 model via Groq to perform semantic intent classification, enabling users to define routing rules in plain English and significantly outperforming traditional keyword-based filters in a feasibility study.

Original authors: Ijegwa Acheme, Emmanuella Amukwuo, Ayodeji Makinde, Shangbum Faveren, Chukwuka Obionwu

Published 2026-10-30
📖 5 min read🧠 Deep dive

Original authors: Ijegwa Acheme, Emmanuella Amukwuo, Ayodeji Makinde, Shangbum Faveren, Chukwuka Obionwu

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the modern workplace, communication has fractured into a dozen different streams. A single professional might juggle emails, instant messages, and project updates across multiple platforms, creating a constant, low-level hum of incoming information. For decades, the tools designed to manage this flow have relied on a simple, rigid logic: if a message contains a specific word, do a specific thing. This keyword-based approach works well for obvious cases, but it struggles with the nuance of human language. A person asking for help with a bill might write "I was charged twice," "my invoice is wrong," or simply "payment issue." A system looking only for the word "invoice" would miss the first two, leaving the sender waiting and the recipient overwhelmed by a cluttered inbox. The challenge for computer scientists has long been to build systems that understand the intent behind the words rather than just the words themselves, a task that requires machines to grasp context and meaning in the same way humans do.

A team of researchers has now built a prototype system that attempts to solve this problem by using a new generation of artificial intelligence to read and sort messages for small businesses. Instead of relying on rigid lists of keywords, their platform uses a large language model—a type of artificial intelligence trained on vast amounts of text to understand how humans communicate—to interpret the meaning of incoming emails and chat messages. The system, designed to work with Gmail and Slack, allows a business owner to write routing rules in plain English, such as "if someone asks about billing, send this to the finance team." The computer then reads the incoming message, figures out what the person actually wants, and automatically forwards it to the right place, sends a reply, or sets it aside. This approach aims to replace the brittle, keyword-dependent filters of the past with a more flexible, intelligent assistant that can handle the messy reality of daily business communication.

The researchers constructed this system as a complete software application that connects directly to a user's email and chat accounts. Behind the scenes, a background process checks for new messages every five minutes. When a new message arrives, the system does not just scan it for specific terms; it sends the content to a powerful artificial intelligence model along with the user's plain-English instructions. The model analyzes the message to determine its purpose, such as whether it is a billing inquiry, a request for a meeting, or a general question. Based on this understanding, the system decides what to do. If the message clearly matches a rule and the AI is confident, it acts immediately by forwarding the message or sending an automated response. If the message is vague, the AI is unsure, or the topic is critical, the system pauses and flags the message for a human to review. This "abstain and escalate" strategy ensures that the computer never guesses when it is not sure, preventing the kind of errors that could annoy customers or delay important work.

To test whether this idea actually works, the researchers created a small set of fourteen test messages covering four common business topics: billing, scheduling, partnerships, and general inquiries. They wrote these messages carefully to avoid using the exact words found in the system's rules, forcing the computer to rely on understanding rather than simple word matching. For example, if the rule was written for the word "invoice," the test messages used phrases like "my card was charged twice" or "I need help with my bill." The results showed that the intelligent system correctly identified the intent of twelve out of the fourteen messages, routing them to the right category. In contrast, a simulated system using traditional keyword matching, similar to the filters found in standard email programs, only correctly identified five of the fourteen messages. The two messages the intelligent system missed were not sent to the wrong place; instead, the system recognized they were difficult to categorize and correctly flagged them for a human to handle.

The study highlights a significant shift in how automation can work for small businesses, particularly in regions where resources are limited and teams are small. The researchers found that by using a pre-trained artificial intelligence model, they could create a system that understands language without needing to collect thousands of examples or hire experts to teach it. The system is designed to be accessible, allowing non-technical users to define their own rules in everyday language. While the test was small and the messages were written by the researchers themselves rather than drawn from real-world chaos, the results suggest that this approach is feasible. The system successfully demonstrated that it could interpret the meaning of a message and make a routing decision that a simple keyword filter would have missed. The authors emphasize that this is a preliminary demonstration of the concept, not a final solution, and that the system's true value will be determined by how well it performs with the diverse, unpolished, and often messy communications that real businesses handle every day.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →