{
"task": "email-classification",
"description": "Classify incoming emails by urgency, category, and route to appropriate department",
"use_case": "Digital agency receives 200+ emails daily. Manual sorting takes 5-10 hours/week. Automation saves 300+ hours/year.",
"request": {
"endpoint": "/tasks/email-classification",
"method": "POST",
"content_type": "application/json",
"body": {
"subject": "Urgent: Website down - Error 500",
"body": "Our company website has been showing Error 500 for the past 2 hours. This is affecting our online sales. Please help immediately!",
"sender": "client@example.com",
"received_at": "2026-01-19T10:30:00Z",
"categories": [
"urgent",
"technical_support",
"billing",
"general_inquiry",
"sales"
]
}
},
"response": {
"task_id": "email_20260119_xyz789",
"status": "completed",
"classification": {
"category": "technical_support",
"urgency": "critical",
"department": "technical_team",
"sentiment": "negative",
"requires_immediate_action": true,
"estimated_response_time": "30 minutes",
"tags": [
"website",
"error_500",
"downtime"
]
},
"confidence": 0.92,
"processing_time_ms": 850
},
"routing_action": {
"assign_to": "technical_team@agency.com",
"cc": "manager@agency.com",
"priority": "high",
"sla_deadline": "2026-01-19T11:00:00Z"
},
"integration_example": {
"description": "Auto-route to Slack channel or ticketing system",
"code": "curl -X POST https://api.example.com/v1/tasks/email-classification \\\n -H 'Content-Type: application/json' \\\n -d '{\"subject\":\"...\",\"body\":\"...\"}'"
},
"sme_benefit": {
"time_saved_per_email": "2 minutes",
"daily_emails": 200,
"annual_savings_hours": 300,
"cost_savings_eur": 6000
}
}