← All articles
AI & Automation

How LLMs Score Email Sentiment and How to Keep It Explainable

The SentiTrack TeamOctober 26, 20268 min read
In short

An LLM scores email sentiment by reading cleaned message text against a defined rubric and returning a structured score, ideally a calibrated 1–10 warmth rating. To keep it explainable, use anchored rubrics, version-pinned models, golden test sets, and aggregate-level explanations. You don't need to keep the email text to do any of this.

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.

  1. 1Ingestion: The system receives the message along with its metadata: sender, recipient, timestamp, and direction (internal, inbound, outbound).
  2. 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.
  3. 3Prompting against a rubric: The cleaned text goes to the model with instructions that define what each point on the scale means.
  4. 4Structured output: The model returns a constrained response, typically a single integer, so free-form commentary never ends up in your data.
  5. 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.

Tip: Write a 'not this' line for each band, for example "Short is not the same as cold; a brief 'Thanks, looks good' is still a 6–7." Negative examples cut down on the most common misreadings quickly.

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.
Note: Use synthetic or explicitly consented examples for your golden set. Pulling real employee emails into a test library can undo the data-minimization guarantees the rest of your system is built on.

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:

  1. 1Is there a written, anchored rubric that non-technical stakeholders can read?
  2. 2Are quoted threads, signatures, and disclaimers stripped before scoring?
  3. 3Does the model return structured output only, with no free-text commentary stored?
  4. 4Is every score tagged with the model, version, and rubric version?
  5. 5Is there a golden set that gets re-run on every change, with results kept on record?
  6. 6Do dashboards default to trends and aggregates rather than individual messages?
  7. 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.

Key takeaways
  • An LLM sentiment score is only as meaningful as the rubric behind it: anchored bands beat a bare "rate this 1–10" prompt.
  • Most scores that seem wrong come from what goes into the model, like quoted threads, signatures, and legal disclaimers, more than from the model itself.
  • Explainability doesn't require storing email bodies. It can come from transparent rubrics, model version history, calibration tests, and patterns across many messages.
  • Pin model versions and re-run a fixed golden set whenever anything changes, so a provider update doesn't pass for a real shift in sentiment.
  • A single email's score is something to look into further. It should never feed a decision about an individual on its own.

Frequently asked questions

How does an LLM score the sentiment of an email?+

First, the email is cleaned to remove quoted replies, signatures, and disclaimers. The remaining text goes to the model with a rubric that defines each point on the scale. The model returns a structured score, such as a 1–10 warmth rating. In privacy-first systems the email body is discarded right after scoring.

Can you explain a sentiment score without storing the email?+

Yes. You explain the method and the patterns rather than individual messages. Publish the scoring rubric, record which model and rubric version produced each score, and explain changes through trends, direction, and timing in the metadata. Most business questions concern patterns across many emails, and those can be answered without the message content.

Why do LLM sentiment scores change when nothing has changed?+

The most common cause is silent model drift: a hosted provider updates its model and the whole score distribution shifts. Changes to the prompt, rubric, or text cleaning can have the same effect. Pinning model versions and re-running a fixed golden test set after every change lets you tell a scorer change apart from a real change in sentiment.

How accurate is LLM sentiment analysis on workplace email?+

Modern LLMs read workplace tone reasonably well, but individual messages can be misread because of sarcasm, very short replies, or cultural differences in how people write. Accuracy depends a lot on a clear rubric and clean input. That's why scores are best used as trends and aggregates rather than as verdicts on single emails.

Should email sentiment scores be used in performance reviews?+

Sentiment scores shouldn't be the basis for decisions about individuals, such as performance ratings or discipline. They're best used as something to look into further and as a view of team and relationship health. In jurisdictions like the EU, solely automated decisions with significant effects on individuals carry specific legal obligations, so consult your legal counsel.

#llm sentiment analysis#email sentiment scoring#explainable ai#ai governance#sentiment calibration#people analytics#privacy-first analytics

See your own org's tone, live

Explore the full product with sample data — no signup — or connect your mail in minutes.