A real-world OpenEnv environment for email triage and prioritization.
An AI agent works through a realistic office inbox and must classify each email as urgent, normal, or spam, assign a priority rank, and draft professional replies — just like a real executive assistant.
🌍 Why This Environment?
Email triage is one of the most universal knowledge-worker tasks. It requires:
NLU — understanding tone, urgency, and context
Judgment — distinguishing what's genuinely critical vs noise
Communication — writing appropriate, professional replies
This makes it an excellent benchmark for evaluating real-world AI agent capabilities.
🎯 Tasks
Task
Difficulty
What the agent must do
Score weights
easy
⭐ Easy
Label each email: urgent / normal / spam
100% label
medium
⭐⭐ Medium
Label + assign priority rank (1–10)
60% label + 40% priority
hard
⭐⭐⭐ Hard
Label + priority + draft a reply
40% label + 30% priority + 30% reply
All scores are in the range [0.0, 1.0].
Grader details
Label scoring: Exact match — 1.0 for correct, 0.0 for wrong.
Priority scoring (partial credit):
Exact match → 1.0
Off by 1 → 0.7
Off by 2 → 0.4
Off by 3+ → 0.0
Reply scoring:
Base score for ≥10 word reply → 0.2
Keyword coverage (domain-relevant terms) → up to 0.6
Politeness/greeting present → 0.2
Spam emails: correct answer is no reply → 1.0 if left empty
🔧 Action Space
python
1classEmailAction(BaseModel):2 email_id:str# ID of the email being acted on (required)3 label:str# "urgent" | "normal" | "spam" (required)4 priority:int|None# 1 (most urgent) to 10 (least urgent) — medium/hard5 reply:str|None# Draft reply text — hard task only