Spaces:
No application file
No application file
metadata
title: Email Triage Environment
emoji: π§
colorFrom: blue
colorTo: green
sdk: docker
pinned: false
Email Triage Environment
An RL environment where an AI agent must read incoming emails and classify them into the correct category.
Task
The agent receives an email (subject + body) and must classify it into one of:
billingβ invoices, refunds, paymentssecurityβ password resets, login alertsorder_updateβ shipping, delivery, returnsschedulingβ meetings, appointments, calendarpromotionalβ sales, offers, marketing
Reward
1.0β correct category0.0β wrong category
Tools
read_email()β returns the current email and list of categoriesclassify_email(category)β submits the agent's answer
Dataset
25 emails across 5 categories, randomly sampled each episode.