Skip to content

Turning email enquiries into structured, trackable cases

A shared inbox shows what has arrived — not what still needs doing. This article describes how incoming emails become cases that belong to someone, have a status and carry a next deadline.

  • Who it is forSales support, customer service, management
  • LevelGuide
  • Reading timeabout 10 minutes
  • Last updated24 October 2026

What you will learn

  • How a case differs from an email and which details it needs as a minimum
  • How intake works in five steps — from filtering to assigning an owner
  • How replies are reliably matched to the right case
  • Which statuses are useful and how follow-up questions and closing are handled

The answer in three sentences

A shared inbox turns into a case list once every incoming email is assigned to exactly one case — a new one or an existing one. Each case then has a named owner, a status and a next deadline, and the inbox becomes an entry point rather than a filing system. This does not necessarily require a large ticketing system; it requires five decisions made before any technology is chosen.

How a case differs from an email

An email is a message. A case is a request with a history: it starts with an enquiry, collects replies, questions and attachments, and ends with an outcome. In an inbox, a single request is scattered across many messages, often in different folders and with different people. Anyone who wants to know where things stand has to piece it together.

A case needs only a few details, but they need to be reliable:

Minimum details of a case
DetailWhat it is for
Case numberA unique reference for questions, replies and phone calls
Sender and customerLinks the case to a known customer or flags the sender as unknown
Type of requestDetermines who is responsible and what information is needed, such as quote, complaint or general query
OwnerOne person, not a team — otherwise nobody feels it is theirs
StatusShows whether someone needs to act right now, and who
Next deadlineWhen the next step is due
HistoryAll messages, attachments and notes in chronological order

More fields are possible, but every additional mandatory field slows intake down. It makes sense to start with these seven and add only what a report or a rule genuinely needs.

Intake in five steps

Every email arriving in the shared inbox goes through the same sequence. Some steps can be fully automated; others can only be prepared for a person to confirm.

  1. Filter: out-of-office notes, bounce messages, newsletters and advertising are not enquiries. Automatic replies often carry the Auto-Submitted header field; RFC 3834 recommends not sending automatic responses to such messages. Following that rule avoids loops in which two acknowledgement emails keep answering each other.
  2. Match: is this email a reply to an existing case or a new request? This is the most important step and is described in more detail below.
  3. Classify: compare the sender address against customer records and determine the type of request. For known senders and clear subject lines, a rule can do this; where it is uncertain, the system suggests a category and a person confirms it.
  4. Create the case: assign a number, attach the email and its files, and send an acknowledgement with the case number in the subject line.
  5. Assign an owner: according to a stored rule — by customer, region or type of request — together with a first deadline by which someone should have responded.

Cases that no rule covers need a triage list with a named person responsible for it. Without one, unclear emails end up where the problem started: in a folder that everyone can see and nobody works through.

Matching replies to the right case

Two reliable markers are available for matching. The first sits in the header of every properly generated email: RFC 5322 specifies that a message carries a Message-ID, and that a reply refers to its predecessors in In-Reply-To and References. If the system stores the identifier of every acknowledgement it sends, it recognises a reply to it — even when the customer has changed the subject line. The second marker is the case number in the subject, for customers who write a fresh email and type the number in.

PHPPHP 8.3 to 8.5 · tested with PHP 8.4 CLI
<?php
declare(strict_types=1);

/**
 * Finds the case an incoming email belongs to.
 * 1. Message-IDs from In-Reply-To and References (nearest parent first)
 * 2. A case number such as [V-2026-0042] in the subject
 *
 * @param array<string, string> $knownIds Message-ID => case number
 */
function findCase(string $subject, string $inReplyTo, string $references, array $knownIds): ?string
{
    preg_match_all('/<[^<>\s]+>/', $inReplyTo, $direct);
    preg_match_all('/<[^<>\s]+>/', $references, $chain);
    foreach ([...$direct[0], ...array_reverse($chain[0])] as $id) {
        if (isset($knownIds[$id])) {
            return $knownIds[$id];
        }
    }
    if (preg_match('/\[(V-\d{4}-\d{4})\]/', $subject, $m) === 1) {
        return $m[1];
    }
    return null; // no match: new case or manual assignment
}
The identifiers in the header fields are checked first, starting with the direct parent; only then the number in the subject. If nothing matches, a new case is created or the email goes to the triage list. The case number pattern is a hypothetical example.

Statuses that mean something

A status is only useful if it tells you who needs to act next. Five are enough for most processes:

  • New: created, not yet looked at.
  • In progress: the owner needs to act.
  • Waiting for customer: a question has been asked; the case needs a follow-up date in case no reply arrives.
  • Waiting internally: another department or an approval is pending, with its own deadline.
  • Closed: with a short outcome, not just a tick.

Two rules make statuses reliable. First, when a customer replies to a waiting case, it automatically switches back to “In progress” and reappears on the owner’s list. Second, waiting cases do not wait forever — after a set period without a reply, someone follows up or the case is closed. How such follow-ups are monitored is covered in Monitoring deadlines and follow-ups reliably.

Closing also needs an answer to a simple question: what happens to an email that arrives after the case has been closed? A common approach is to reopen the case within a defined period and, after that, to create a new case that refers to the old one.

A hypothetical example

The sales office with the general inbox

A wholesaler with three people in its sales office receives enquiries through a general address. Until now, each person marks the emails they take on with a colour. Whoever is on holiday leaves behind coloured emails that nobody touches. When a customer asks for an update, someone searches the inbox, a colleague’s sent items and a spreadsheet of open quotes.

After the change, every incoming email becomes a case or is matched to an existing one. Enquiries from existing customers go to the responsible person by postcode area, complaints go to one fixed contact, and anything unclear goes to the triage list, which the team looks after on a rota. The acknowledgement carries the case number. During holidays, the absent person’s open cases are shown to their deputy instead of disappearing into an inbox.

What stays the same: people still write the replies to customers. What is automated is capturing, matching and making things visible — exactly the part that used to live in colours and in people’s memories.

Follow-up questions and incomplete enquiries

A large share of the work on enquiries is asking for missing information: no item number, an unclear quantity, no delivery address. If you define, for each type of request, which details are needed to process it, you can do two things: flag missing details as soon as the email arrives, and suggest a suitable template for the follow-up question.

Removing the cause is even more effective. For recurring requests — sample orders, returns, appointment requests — a form with mandatory fields often works better than any analysis of free text. The acknowledgement can point straight to the form in those cases. Why free text so often leads to data being entered twice is explained in Avoiding duplicate data entry.

Whether free text is classified with fixed rules or with the help of a language model is a separate decision. Either way, a suggestion remains a suggestion, and uncertain cases go to a person. When a rule is sufficient is described in Automation without AI.

Common mistakes when switching over

  • The inbox remains the real archive. If part of the communication still happens only in the inbox, the case is incomplete and nobody trusts its status.
  • The owner is “the team”. A group as owner is a sign that the assignment rule is still missing.
  • Too many categories. Twenty types of request get applied inconsistently and are useless for both rules and reports. Five to eight are a better start.
  • Attachments stay in the email. Delivery notes, photos and drawings belong in the case; otherwise people end up searching the inbox for them again.
  • No rule on visibility. HR enquiries or confidential customer data should not be visible to everyone. Who may see what needs settling before go-live; see Planning roles and permissions.

Connecting such an intake process to the other systems in a business is part of our process automation service. An example of an application covering everything from incoming enquiry to further processing is our purchasing software project.

Common misconceptions

Not necessarily. What matters is matching, ownership, status and deadline. A standalone system can provide that, but so can an extension of the business software you already use.

They show who has touched an email, but not what is still open, by when, and what happens during absences. Those three questions are exactly what a case answers.

It reassures the customer but organises nothing. It only becomes valuable when it carries a case number that later replies can be matched against.

Further sources

About the author

Fabian Lücker is managing partner of PHP Schmiede KG in Rheine and has worked in software development since 2007. He is responsible for development and design, and writes here about decisions that come up in real projects.

Turn your inbox into a case list?

Tell us which enquiries arrive through which inbox today and who handles them. We will tell you which steps are worth automating.