Real-World Email Triage
for AI Agents
A fully compliant OpenEnv environment where agents learn to classify, prioritize, and respond to business emails — simulating a core daily task for millions of knowledge workers.
Tasks
Spam Detection
Easy
Binary classification of spam vs. legitimate emails with basic urgency assignment.
Priority Triage
Medium
Full classification: 5-level urgency, 10 categories, 6 action types with partial credit.
Triage + Drafting
Hard
Complete pipeline: triage + contextually appropriate reply drafting, graded on tone and completeness.
API Playground
🔌
Interactive API
Base URL:http://localhost:7860
POST
// Response will appear here
Endpoints Reference
| Method | Path | Description |
|---|---|---|
| POST | /reset | Start new episode. Body: {"task_id": "task_easy"} |
| POST | /step | Submit action for current email. Returns observation + reward. |
| GET | /state | Return full internal environment state. |
| GET | /health | Health check — returns 200 OK. |
| GET | /tasks | List all available tasks with metadata. |
| GET | /action_space | Describe valid action enum values. |
| GET | /docs | Interactive Swagger API documentation. |