Ask a large language model to rate how warm an email feels and you'll get a number almost instantly. The hard part is explaining that number to an HR director, a works council, or a skeptical VP of Customer Success who wants to know why their key account relationship 'dropped to a 4.' This guide walks through what actually happens when an LLM scores email sentiment, where scores go wrong, and how to build explainability into the system. It also covers how to do that when, for privacy reasons, you never keep the email itself.
What happens when an LLM scores an email
From the outside it looks like magic, but a well-designed scoring pipeline has a handful of separate stages. Each one affects the final number, and each one is somewhere explainability can either hold up or fall apart.
- 1Ingestion: The system receives the message along with its metadata: sender, recipient, timestamp, and direction (internal, inbound, outbound).
- 2Cleaning: Quoted reply chains, signatures, legal disclaimers, and auto-generated footers are stripped so the model judges only what the sender actually wrote in this message.
- 3Prompting against a rubric: The cleaned text goes to the model with instructions that define what each point on the scale means.
- 4Structured output: The model returns a constrained response, typically a single integer, so free-form commentary never ends up in your data.
- 5Discard: In a privacy-first design the body is thrown away right after scoring. Only the metadata and the score are kept.
That last step is important. It's how SentiTrack.ai works: bodies are scored in transit and discarded, and only metadata, a subject hash, and the 1–10 score are stored. It also creates a real design constraint, because you can't go back later and re-read an email to justify its score. Explainability has to be designed in from the start.
Why the rubric matters more than the model
The most common mistake is a prompt like 'Rate the sentiment of this email from 1 to 10.' Every model will answer, but each one quietly fills in its own definition of what a 6 means. Switch models, or even switch versions of the same model, and the meaning of a 6 changes without anyone noticing.
An anchored rubric fixes this by describing each band in plain behavioral language. A simplified example for a warmth scale:
- 1–2, Hostile: Explicit anger, blame, threats, or contempt directed at the recipient.
- 3–4, Cool or strained: Curt, impatient, or guarded. Frustration is present but contained.
- 5–6, Neutral or transactional: Businesslike and functional, with little emotional content either way.
- 7–8, Warm: Friendly, appreciative, collaborative. Goodwill is clearly present.
- 9–10, Very warm: Enthusiastic gratitude, strong praise, or obvious personal rapport.
With anchors in place, a score can be explained in a sentence: 'The model judged this message to be curt and guarded, which the rubric defines as a 3–4.' The person asking may disagree, but they know what's being measured.
Where LLM sentiment scores go wrong
When a score looks wrong, the cause is usually one of a few predictable failure modes. Knowing them in advance lets you design around them before anyone files a complaint.
Input contamination
If a quoted thread isn't stripped, a polite reply to an angry customer gets scored on the customer's anger. Long legal disclaimers can pull scores toward neutral. Cleaning text before scoring is the most important explainability step, and it's also the least glamorous.
Brevity and cultural register
Communication norms differ across cultures, languages, industries, and individual people. One engineer's one-line replies are completely friendly. Another colleague uses lots of exclamation points out of habit. Models may read terseness as coldness, which is why individual baselines and trends tell you more than raw scores.
Sarcasm, irony, and in-jokes
'Great, another Friday deploy' can be good-natured or bitter depending on context the model doesn't have. Modern LLMs handle a lot of irony well but not all of it. Expect some noise on individual messages and rely on aggregation to wash it out.
Silent model drift
Hosted model providers update their models. Without version pinning, a change on the provider's side can move your whole score distribution, and on a dashboard that looks exactly like a company-wide mood shift. This is the most dangerous failure mode because nothing about it looks broken.
Explainability without storing content
There's a real tension here. The most intuitive explanation would be to show someone the email and the phrase that drove the score. In a privacy-first system that's deliberately impossible, and that's a good thing for employees and customers. So explanations have to come from other layers.
1. Method transparency
Publish the rubric internally. Anyone who sees a score should be able to find what each band means, what text is removed before scoring, and what the system doesn't measure (topic, intent, performance, truthfulness). A score that's explained at the method level is defensible even when no single email can be shown.
2. Provenance on every score
Record which model, model version, and rubric version produced each score. This is metadata, not content, so it fits within a data-minimization design. When someone asks why scores changed in March, you can check whether the people changed or the scorer did.
3. Pattern-level explanations
Most questions that matter are about patterns: is the relationship between Sales and Support cooling, or is a key account getting more strained? Those questions can be answered from metadata. You can look at which direction is declining, whether it's concentrated in a few pairs or spread across many, when it started, and whether it lines up with a known event. A timeline with event overlays, like SentiTrack's Time Graph, often explains a dip better than any single email could.
You rarely need to know why one email scored a 4. You need to know why fifty emails between two teams went from 7s to 5s, and that answer is in the pattern.
How to test a sentiment scorer before you trust it
Explainability also means being able to show that the scorer behaves consistently. A few tests are enough to give you real confidence.
- Golden set: Build a fixed library of synthetic or properly consented example emails, each labeled with an agreed score band by several human reviewers. Re-run it whenever the model, prompt, or cleaning logic changes.
- Repeatability: Score the same message several times. If the result swings by more than a point, lower the sampling temperature or tighten the rubric.
- Perturbation tests: Change things that shouldn't matter, like names, signature blocks, or the order of neutral sentences, and confirm the score holds. Then change things that should matter, like adding an apology or a complaint, and confirm it moves the right way.
- Cross-model agreement: If you can choose between providers or run a local model, score the golden set with each. Where they disagree a lot, the rubric probably has ambiguous bands.
- Language coverage: If your organization writes in several languages, include each one in the golden set. Don't assume quality carries over from one language to another.
Being able to choose models helps here. SentiTrack supports Anthropic, OpenAI, and Gemini, plus a self-hosted local model. That lets teams test the same rubric across scorers, and lets highly sensitive environments keep scoring entirely on their own infrastructure using the Edge appliance.
Governance: how scores should and shouldn't be used
An explainable score can still be misused. Governance sets the limits on what the number is allowed to drive.
- Treat single scores as something to look into further. A low score on one email is a reason for a manager to check in. It isn't evidence of anything.
- Keep humans in the loop. Decisions about individuals, such as performance, discipline, or promotion, shouldn't rest on automated sentiment scores. Under GDPR and similar regimes, solely automated decisions with significant effects on people carry specific obligations, so review this with your legal counsel.
- Prefer trends and aggregates. Rolling averages over enough messages smooth out sarcasm, brevity, and occasional misreads.
- Document limitations openly. Say what the scorer struggles with. Admitting weaknesses builds more trust than claiming accuracy you can't prove.
- Own your compliance basis. If you break scores down by demographic attributes, the lawful basis, DPIA, and any consent requirements belong to the deploying organization and should be settled before anyone opens a dashboard.
A practical explainability checklist
Before you roll out LLM-based email sentiment scoring, or if you're auditing one you already run, check that you can answer yes to each of these:
- 1Is there a written, anchored rubric that non-technical stakeholders can read?
- 2Are quoted threads, signatures, and disclaimers stripped before scoring?
- 3Does the model return structured output only, with no free-text commentary stored?
- 4Is every score tagged with the model, version, and rubric version?
- 5Is there a golden set that gets re-run on every change, with results kept on record?
- 6Do dashboards default to trends and aggregates rather than individual messages?
- 7Is it documented what the score must never be used for?
Making the number something people can trust
LLMs have made sentiment scoring good enough to be useful. Being useful and being trusted aren't the same, though, and trust comes from showing your method. That means a clear rubric, clean inputs, pinned versions, repeatable tests, and explanations that look at patterns rather than individual messages. None of it requires keeping anyone's email.
If you'd like to see how metadata-only scoring, model choice, and timeline views fit together, explore the live demo or contact us to talk through your own governance requirements.