Diagram: a cloud of 91,474 support emails narrows through filter, classify, draft, and cluster stages into a ranked FAQ of 77 questions
Every answer your support team has ever typed is sitting in email right now. Fitment questions. Shipping times. “Will this work with my setup?” All correct, written by people who know your products. And none of it is doing any work, because nobody can read it at the scale it exists.
So we did.
For a medium-sized overlanding equipment provider, one supplying specialty outfitters and running a fast-paced DTC channel, we exported their customer-service Outlook inbox to a .pst file, 91,474 emails, and ran it through a pipeline that scrubbed every customer detail locally before any AI saw a word. Out came 2,601 real answers the team had already written, and a list of 77 questions customers ask over and over. The top one had been asked 259 times. Fitment questions showed up 175 times. Each one answered by hand, every time, because there was no way to see it had already been answered 174 times before.
Those answers are sitting in your inbox too. Here’s exactly how we got them out.
Steps 1 to 4: Turn “the inbox” into something AI can use
A single support@ inbox is where most companies start and stay. It works for today’s tickets. It’s terrible at showing you patterns.
To turn it into something an AI agent can learn from, we had to do some plumbing first.
Get the mailbox out of Outlook. We exported the customer-service mailbox, including Deleted Items, into a single .pst file.
Turn the PST into individual emails. A mail extraction tool cracked the .pst into separate message files so scripts and models could read one email at a time.
Parse and group into conversations. A script (not AI) parsed 91,474 emails into 25,054 conversation threads, linking replies together using headers and subject lines instead of treating every message as a standalone mystery.
Drop obvious noise without AI. A free pre-filter removed 9,153 threads on sight: bounces, auto-replies, internal chatter, and threads too short to matter. That left 15,901 threads worth a closer look.
Most of the job here was throwing things away cheaply before spending a cent on AI.
What the inbox actually held
Once the easy noise was gone, we still couldn’t just say “hey AI, give us FAQs.” The inbox was still messy.
Out of the 15,901 threads we kept, only about a third were genuine customer questions. The rest was everything else that flows through a normal business inbox.
| What the inbox held | Threads | Share |
|---|---|---|
| Automated (receipts, notifications) | 5,189 | 33% |
| Customer Q&A | 5,155 | 32% |
| Spam / marketing | 2,707 | 17% |
| Vendor / supplier | 1,706 | 11% |
| Internal | 640 | 4% |
| Unclear | 504 | 3% |
To narrow down what was worth paying attention to, we did three things.
Stripped sensitive details first, with a script, not AI. This is the part worth being precise about. A deterministic Python script (regex and pattern matching, standard library, no AI and no network calls) ran on our own machine and redacted names, emails, phone numbers, order numbers, addresses, and similar patterns. It ran as a gate: every step after it, including the AI classification and drafting, only ever received already-redacted text. The cloud model never saw a raw customer email. That kept customer data out of external logs, and it kept our own team out of details we didn’t need to see.
Classified each thread with AI. A cheap model read the survivors and sorted them into buckets: real customer Q&A, vendor, spam, automated, internal, or unclear. Only the real customer Q&A moved forward. Borderline cases got a second opinion from a stronger model, so the expensive step only ever touched the hardest calls.
Pulled out genuine customer Q&A. After classification, 5,066 threads remained as true back-and-forth with customers, not order feeds, newsletter blasts, or internal threads. For this client we also dropped 89 Amazon-style auto-inquiries: templated messages that look like questions but don’t belong on the site.
Now we had a cleaned archive of real customer questions and human answers.
Steps 5 to 7: Turn conversations into reusable answers
With the messy parts gone, the next job was turning all those back-and-forth emails into something reusable.
Draft FAQ candidates with AI. For each cleaned thread, the agent looked at the customer’s question and the support team’s reply and decided whether it was reusable or too order-specific, and if reusable, what the clean question-and-answer pair would be. That pass produced 2,601 publishable answers and set aside 2,465 one-offs like “where is my tracking number.”
Group similar questions and count them. This is where “dedupe and rank” becomes plain English. Group near-duplicates together (“When will this be back in stock?” and “When does this restock?”). Pick one canonical wording. Count how often the theme appeared. Once we clustered them, 2,548 answers collapsed into 77 distinct questions, with 53 too rare to group.
Two numbers matter here. 2,601 is how many good answers the team had already written and never reused. 77 is how many unique questions those answers boil down to once you group and count.
Do the third number yourself: 2,548 answers across 77 questions is about 33. On average, the typical question had been asked and answered 33 times. The popular ones, many more.
Audit before anything goes live. Before publishing, we scanned the drafted candidates for leftover redaction tokens or stray personal details, and fixed any answer that shouldn’t go live as-is. The output to the business wasn’t “some AI magic.” It was a frequency-ranked FAQ list ready for human review, with the cleaned data saved separately from the raw mailbox so nothing sensitive ended up in version control or content tools.
The whole run cost $59.35 in API tokens across three days (June 27 – 29, 2026). The filtering is why the number isn’t higher. The model only ever read the threads that survived the free pre-filter, so we weren’t paying to classify 9,153 bounces and auto-replies.
What surprised us: the first reply was usually the whole story
We went in expecting the long threads to be the prize - multi-email back-and-forths we could mine for follow-up patterns worth encoding. The opposite turned out to be true. This team answered so well on the first reply that the third email in a thread was usually just “thanks for the info.”
The expertise wasn’t buried in a negotiation. It was in the first response, given once, correct, and then lost to the archive. That’s the part worth sitting with: the quality was already there. Nobody could see it at scale.
33 slightly different answers to the same question
The repeated questions looked exactly like you’d expect from an overlanding equipment operation.
| Question | Times asked |
|---|---|
| When does an out-of-stock item restock | 259 |
| Backorder policy for out-of-stock items | 180 |
| Will this gear fit my vehicle or rack | 175 |
| Missing, wrong, or damaged on arrival | 154 |
| Product dimensions and specs | 149 |
Two of these deserve a closer look, because they say different things.
The restock questions, 439 of them between the top two rows, are the quiet tell. This client has order tracking on the site. Customers emailed anyway. Hundreds of times, people bypassed a tool that already existed to ask a human the same thing, and a human stopped what they were doing to answer. Every one of those is staff time that should have gone to the questions only a human can handle.
Fitment is the other kind. Ask “will this roof-top tent fit my crossbars?” 175 times and you do not get one answer 175 times. One rep says yes. Another says yes, but you’ll want to check your crossbar weight rating. A third forgets to mention that low-profile rails need a different mounting kit than standard bars, and the customer finds out after the tent is mounted and it won’t sit level.
That’s not incompetence. It’s what happens when the truth lives in people’s heads and scattered email threads. With fitment, a drifting answer doesn’t just annoy a customer. It sends back gear and costs a return. The customer doesn’t see the process. They see a brand that doesn’t seem sure of its own products.
The napkin math managers actually care about
You don’t need 91,474 emails to make this hurt.
Say you field 50 support emails a day, and a third of them are repeats of something already answered a dozen times. That’s 15 emails a day. At four minutes each to write a fresh answer, that’s an hour a day, five hours a week, spent retyping what already exists in last month’s Sent folder.
The exact numbers will be different in your inbox. The shape of the waste won’t be. The time is real, but it never shows up on a report. It just feels like “support is busy.”
The ranked list isn’t the prize
The list is the obvious deliverable. The real value is what the cleaned corpus makes possible next.
The prize is an AI agent trained on the 2,601 vetted answers your team has already written. A customer asks a question. The agent doesn’t paste a canned snippet. It writes a fresh answer, in context, grounded in how your team has actually handled that topic before.
The AI handles wording and tone. The historic answers keep it accurate and consistent. If the true lead time is “7 to 10 business days,” that’s what it repeats. If a specific fitment caveat came up in real support threads, that warning shows up because a human cared enough to type it once.
A static FAQ is consistent because it’s frozen. An agent sitting on your own support archive is consistent because every answer traces back to the same vetted history, and accurate because that history is made of real ticket resolutions, not guesses.
One archive, many uses
Once your inbox has been cleaned, classified, and turned into Q&A pairs, the value fans out.
Customer-facing. Instant answers in site search, in language your customers already use. Product-page FAQs scoped to the right parts. A single reliable source for shipping, returns, and warranty.
Training and operations. A ranked question list that becomes an onboarding map for new reps, and a mirror showing where you’ve been answering the same thing 33 different ways.
SEO and schema. Real Q&A pairs that feed FAQ markup, helping answer engines understand and surface your pages. The markup has to match what support actually says.
Content and video. Top questions that double as validated scripts for explainers and how-tos, with AI-drafted outlines grounded in real customer language, not marketing guesswork.
You don’t need to rip out your systems or adopt a CRM to see if this works for you. A single inbox export is enough to prove the pattern.
For the nerds: the stack
No heavy framework, nothing exotic. The interesting decisions were about what not to spend money on.
Mail extraction. readpst from the libpst package converted the Outlook .pst into individual .eml files. We reached for pypff first, but it wasn’t installed, and readpst did the job, so we didn’t fight it.
Pipeline. Python 3 for everything: pst_faq_pipeline.py, pst_faq_email_lib.py, pst_faq_filter_marketplace_noise.py, pst_faq_synthesize_candidates.py, pst_faq_rank_frequency.py. Email parsing, threading, regex-based PII redaction, and JSON/JSONL handling all ran on the standard library. No framework.
PII redaction (deterministic, local, pre-AI). Rule-based regex and pattern matching, running on our own machine with no AI and no network calls. This step finished before any thread was sent to an external API, so the redaction was the gate the rest of the pipeline ran behind, not a cleanup pass afterward.
AI. The Anthropic Claude API did the classification and drafting, and only ever on redacted text. Haiku 4.5 was the workhorse on cost grounds, handling thread classification and FAQ drafting. Sonnet 4.6 sat in reserve as a quality fallback for borderline calls and calibration. Billed API spend for this project, from the Anthropic usage export:
| Date | Model | Input | Output | Day total |
|---|---|---|---|---|
| 2026 – 06-27 | Claude Haiku 4.5 | $34.28 | $7.00 | $41.28 |
| 2026 – 06-28 | Claude Haiku 4.5 | $11.02 | $3.21 | $14.23 |
| 2026 – 06-28 | Claude Sonnet 4.6 | $1.51 | $1.39 | $2.90 |
| 2026 – 06-29 | Claude Sonnet 4.6 | $0.53 | $0.41 | $0.94 |
Run total: $59.35 ($55.51 Haiku, $3.84 Sonnet). Most of the spend landed on June 27, when classification and drafting ran at full volume. Sonnet shows up only on the last two days, on the harder calls.
PII audit. spaCy with the en_core_web_sm model ran a named-entity scan for person names across the publish-bound output, a second net under the regex redaction. It also ran locally. Installed during the audit step, not before.
Version control. git and a private GitHub repo held the code, config, and the cleaned ranked FAQ deliverable. Raw mailbox data never went near it.
Environment. macOS, zsh. Archiving used the usual shell tools: zip and shasum for SHA-256 checksums on the deliverables.
It’s already yours
The mailbox is the dataset. The repetition is there. The expertise is there, written down, correct, and unused.
The only open questions: has anyone read it in a way that exposes the pattern, and does the answer a customer gets this week match the one your team gave last month?
An AI agent built on your own support history settles both. The answers were always good. They were just trapped in your inbox.