Skip to content

Instantly share code, notes, and snippets.

@guyernest
Created August 5, 2025 23:37
Show Gist options
  • Select an option

  • Save guyernest/ca9ff84088dd7761316a0fea98558e4a to your computer and use it in GitHub Desktop.

Select an option

Save guyernest/ca9ff84088dd7761316a0fea98558e4a to your computer and use it in GitHub Desktop.
Email Classification Dataset Sample
{
"version": "1.0",
"metadata": {
"created_date": "2025-08-05",
"total_samples": 15,
"dataset_type": "email_classification",
"description": "Sample dataset for testing email classification as 'For Action' or 'FYI' with department metadata",
"export_timestamp": "2025-08-05T20:00:00Z"
},
"samples": [
{
"sample_id": "email_001",
"input": "Hi Team, Please review the quarterly budget proposal by Friday. Your approval is needed to proceed with the next phase of the project. Let me know if you have any questions. Thanks, Sarah",
"expected_output": "For Action",
"metadata": {
"department": "Finance",
"sender": "Sarah",
"priority": "high",
"contains_deadline": true
}
},
{
"sample_id": "email_002",
"input": "FYI - The office will be closed next Monday for maintenance. No action required from your side. Have a great weekend! - Facilities Team",
"expected_output": "FYI",
"metadata": {
"department": "Facilities",
"sender": "Facilities Team",
"priority": "low",
"contains_deadline": false
}
},
{
"sample_id": "email_003",
"input": "Can you please send me the updated project timeline? I need it for tomorrow's client meeting. Thanks, Mike",
"expected_output": "For Action",
"metadata": {
"department": "Sales",
"sender": "Mike",
"priority": "high",
"contains_deadline": true
}
},
{
"sample_id": "email_004",
"input": "Just wanted to let you know that the new coffee machine has been installed in the break room. Enjoy your coffee! - Office Manager",
"expected_output": "FYI",
"metadata": {
"department": "Facilities",
"sender": "Office Manager",
"priority": "low",
"contains_deadline": false
}
},
{
"sample_id": "email_005",
"input": "URGENT: Please complete your security training by end of day today. The system will lock your account if not completed. Click here to start: [training link]",
"expected_output": "For Action",
"metadata": {
"department": "IT",
"sender": "Security Team",
"priority": "urgent",
"contains_deadline": true
}
},
{
"sample_id": "email_006",
"input": "Monthly newsletter: Here's what happened in our company this month: 3 new hires, successful product launch, and team building event photos. Thanks for your continued dedication!",
"expected_output": "FYI",
"metadata": {
"department": "HR",
"sender": "HR Team",
"priority": "low",
"contains_deadline": false
}
},
{
"sample_id": "email_007",
"input": "Please RSVP for the team lunch on Friday by Wednesday. We need a headcount for catering. Reply with your dietary restrictions if any. - HR Team",
"expected_output": "For Action",
"metadata": {
"department": "HR",
"sender": "HR Team",
"priority": "medium",
"contains_deadline": true
}
},
{
"sample_id": "email_008",
"input": "Weather update: Light snow expected tonight. Drive safely everyone. No changes to office hours. Stay warm! - Management",
"expected_output": "FYI",
"metadata": {
"department": "Management",
"sender": "Management",
"priority": "low",
"contains_deadline": false
}
},
{
"sample_id": "email_009",
"input": "Your signature is required on the attached contract. Please review, sign, and return by Thursday. Let me know if you have any questions about the terms. Best, Legal Team",
"expected_output": "For Action",
"metadata": {
"department": "Legal",
"sender": "Legal Team",
"priority": "high",
"contains_deadline": true
}
},
{
"sample_id": "email_010",
"input": "Congratulations to our sales team for exceeding Q3 targets by 15%! Thanks to everyone's hard work and dedication. Keep up the excellent work! - CEO",
"expected_output": "FYI",
"metadata": {
"department": "Management",
"sender": "CEO",
"priority": "low",
"contains_deadline": false
}
},
{
"sample_id": "email_011",
"input": "Password reset required: Your password will expire in 3 days. Please click this link to update your password: [reset link]. Contact IT if you need assistance.",
"expected_output": "For Action",
"metadata": {
"department": "IT",
"sender": "IT Security",
"priority": "high",
"contains_deadline": true
}
},
{
"sample_id": "email_012",
"input": "Server maintenance completed successfully last night. All systems are back to normal operation. No issues reported. - IT Operations",
"expected_output": "FYI",
"metadata": {
"department": "IT",
"sender": "IT Operations",
"priority": "low",
"contains_deadline": false
}
},
{
"sample_id": "email_013",
"input": "Meeting reschedule: Tomorrow's 2 PM meeting is moved to 3 PM due to conflicts. Please update your calendars. The agenda remains the same. - Assistant",
"expected_output": "For Action",
"metadata": {
"department": "Management",
"sender": "Assistant",
"priority": "medium",
"contains_deadline": true
}
},
{
"sample_id": "email_014",
"input": "Industry report: Market trends show 20% growth in our sector this year. Competitors are launching similar products. Full report attached for reference. - Market Research",
"expected_output": "FYI",
"metadata": {
"department": "Sales",
"sender": "Market Research",
"priority": "medium",
"contains_deadline": false
}
},
{
"sample_id": "email_015",
"input": "Expense report submission deadline is tomorrow. Please submit all receipts from last month through the online portal. Contact accounting for any issues. - Finance",
"expected_output": "For Action",
"metadata": {
"department": "Finance",
"sender": "Finance Team",
"priority": "high",
"contains_deadline": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment