A tested design for building an AI Agent that radically improves most any email submission workflow

Despite the immense hype surrounding AI in the last couple of years, we are only now seeing the technology begin to get a concrete foothold in diverse functional areas of organizations. One reason is the realization that if your organization isn’t leveraging AI, it will be left helplessly in the dust by other organizations that have already embraced the technology.
One particularly powerful feature of LLMs is language inference, or the ability to extract meaning from documents. “Inference” is a fancy word for what essentially means that computers can “speak our language.” If anything, this by itself changed everything. Oh my, the tools we could build now!
As if this weren’t enough, we soon had AI models capable of selecting and using tools. Tools extended AI’s inference beyond its training dataset into infinite possibilities. We humans had finally created a tool that could use tools. Inference + Tool usage gave rise to agentic capabilities and the promise of unprecedented productivity.
Inference + Tool usage gave rise to agentic capabilities and the promise of unprecedented productivity.
This article looks at how mxHERO is leveraging AI Agentic capabilities to streamline email workflows common in nearly every organization. We share our experience and insights to help inform others who are looking to leverage AI in their organizations.
Let’s get started!
An Email Workflow
Almost every organization has email workflows. The types we are addressing are the ones served by a specific email address. These email addresses are typically functional and not the address of an individual. For example “sales@…”, “claims@…”, “apply@…” etc.

These emails often have attachments, like forms for insurance claims or a resumé for a job application. In a recent government RFP (Request for Proposal) we participated in, the process required multiple files — a core application form and Excel files detailing bills of materials and labor rates.
The typical process traditionally involves manual triage as messages come in. An employee accesses the mailbox and manually reviews them, shares them internally, and takes whatever steps the particular workflow defines.

Does this sound familiar? These processes are ubiquitous, and we have found that today’s AI can greatly improve and accelerate them.
For example, in the aforementioned government workflow, the agency would collect competitive proposals for different projects via email submission. The current workflow required human analysis of the submitted proposals, which contained a form and additional files, like Bills of Materials (BOM) and labor schedules. These documents needed to be checked for completeness and analyzed against internal benchmarks. The process was tedious, error-prone, and relied on the varying degrees of experience of the evaluators.
Design of the AI Email Workflow
Below are five steps for designing and building an AI-powered email workflow solution. Once deployed, this solution can be easily tailored to any number of workflows without needing any additional lines of code!
We describe each step using the aforementioned government agency’s process as an example.

(1) Email Submission
The workflow starts with an email sent to the workflow email address. Often, a human sends the email, but a system, such as a web form for order submissions, complaints, or a billing system, might also send it.

(2) Email & Attachment Capture
The email is captured and copied into the organization’s cloud storage service. If there are any attachments, these are also saved. As we will see below, the cloud storage service holds captured email submissions, AI prompt instructions, and a domain-specific knowledge base.

(3) AI Analysis
Once the email and its attachments are stored, the AI process analyzes the submission through a battery of custom prompts supported by tools to access domain-specific knowledge.
The RFP workflow used the following queries:

(4) Analysis Summary Email
The AI’s analysis results in a summary email sent to the workflow team.

This email also includes links to an AI Chat interface where users can further query the AI about the submittal and access submitted documents (also available in the organization’s cloud storage).
(5) AI Chat Follow Up
The Chat tool maintains memory of each submission and the results of its initial analysis. The AI Chat tool allows users to ask additional questions regarding the submission and explore the documents facilitated by AI’s natural language interface.

Flexible Design — Creating Agentic Email Workflows for Any Requirement without Code
The prompts and knowledge base, kept in cloud storage folders, are easy to create, or edit for new workflows. mxHERO’s partner, Bubo Defense, has created the following agents:

Conclusion
When AI exploded into the public scene upon the initial release of ChatGPT, organizations were timid about leveraging the new technology. With increased awareness of its capabilities for rapid summation and language inference, AI tools are making their way into our workflows. Organizations adopting AI will reach new levels of productivity and gain strategic advantage over competitors who don’t.