Today's AI Tip
← All posts

Sorting customer emails with AI? Show it three labeled examples first.

· View on Instagram · View on Facebook

Sorting customer emails with AI? Show it three labeled examples first.
The obvious first try. The obvious first try: name the labels and paste in the emails. We ran exactly that on 12 fictional support emails.

The obvious first try

Sort these customer emails into billing, bug or feature request. Reply with each email number and its label, one per line.

Tested in GPT-5.5 (OpenAI API), Oct 2026

The obvious first try: name the labels and paste in the emails. We ran exactly that on 12 fictional support emails.

Labels don't say your rules. Our fictional team's rule: if the app caused it, it's a bug, even with money involved. Email 4: a crash during an upgrade, now $40 instead of $20. Email 9: constant logouts, so the trial renewed.

Labels don't say your rules

Our fictional team's rule: if the app caused it, it's a bug, even with money involved. Email 4: a crash during an upgrade, now $40 instead of $20. Email 9: constant logouts, so the trial renewed.

Without examples, it broke our rule. It scored 10 of 12 by our rule. It sent emails 4 and 9 to billing. That's a fair everyday reading, but the model had no way to know our rule.

Without examples, it broke our rule

Real output · GPT-5.5 (OpenAI API) · Oct 2026

1. billing 2. bug 3. feature request 4. billing 5. feature request 6. bug 7. billing 8. bug 9. billing 10. feature request 11. feature request 12. bug

It scored 10 of 12 by our rule. It sent emails 4 and 9 to billing. That's a fair everyday reading, but the model had no way to know our rule.

The move: add three examples. Same request plus three labeled examples, one per label. One is an edge case: a freeze that double-charged is a bug.

The move: add three examples

Sort these customer emails into billing, bug or feature request. Reply with each email number and its label, one per line. <examples> <example> Email: The app froze at checkout and charged me twice for March. Please refund one. Label: bug </example> <example> Email: Feels broken that there is no way to export reports to Excel. Label: feature request </example> <example> Email: My card expired. How do I update it before the next invoice? Label: billing </example> </examples>

Tested in GPT-5.5 (OpenAI API), Oct 2026

Same request plus three labeled examples, one per label. One is an edge case: a freeze that double-charged is a bug.

Source: Anthropic, Prompting best practices, Oct 2026

Better, but not perfect. Emails 4 and 9 became bug, and the score rose to 11 of 12. But email 11 flipped the other way: it was right without examples, and now the word "broken" pulled a select-all request to bug.

Better, but not perfect

Real output · GPT-5.5 (OpenAI API) · Oct 2026

1. billing 2. bug 3. feature request 4. bug 5. feature request 6. bug 7. billing 8. bug 9. bug 10. feature request 11. bug 12. bug

Emails 4 and 9 became bug, and the score rose to 11 of 12. But email 11 flipped the other way: it was right without examples, and now the word "broken" pulled a select-all request to bug.

Emails that fit nowhere. In this run, a thank-you and a job inquiry got forced into bug and feature request. With an 'other' option added, both came back 'other', in 2 of 2 runs.

Emails that fit nowhere

Real output · GPT-5.5 (OpenAI API) · Oct 2026

13. other 14. other

In this run, a thank-you and a job inquiry got forced into bug and feature request. With an 'other' option added, both came back 'other', in 2 of 2 runs.

Try it: Add it right after the first sentence: If none fits, write other.

Pick examples that cause arguments. Choose examples from the emails your team argues about, not the easy ones, and add an other bucket. Spot-check a few each time, since results vary run to run.

Pick examples that cause arguments

Choose examples from the emails your team argues about, not the easy ones, and add an other bucket. Spot-check a few each time, since results vary run to run.

Try it: paste three emails you've already sorted, each with its label, above today's batch.

Sources and assumptions

Assumptions:

The short version

Follow @todaysaitipSave this post on Instagram

More posts