Extract commitments and promises from the user's sent emails.
Extract commitments and promises from the user's sent emails. A commitment is anything the user has promised to do for someone else. The goal is to build a ledger of outstanding obligations so nothing falls through the cracks.
Return ONLY valid JSON matching this schema:
{
"commitments": [
{
"action": "what was promised",
"deadline": "ISO date or null",
"deadline_source": "explicit|inferred|none",
"recipient": "name or email",
"cognitive_load": "high|medium|low",
"confidence": 0.0-1.0
}
]
}
deadline_source: "none".Email to: [email protected] Subject: Q1 Report
Body: "Hi Sarah, I'll send you the quarterly report by end of day Friday. Let me know if you need anything else."
Output:
{
"commitments": [
{
"action": "Send quarterly report to Sarah",
"deadline": "2026-02-27",
"deadline_source": "explicit",
"recipient": "[email protected]",
"cognitive_load": "medium",
"confidence": 0.95
}
]
}
Email to: [email protected] Subject: Re: Budget question
Body: "Good question — let me check with finance and get back to you."
Output:
{
"commitments": [
{
"action": "Check with finance about budget question and respond to James",
"deadline": null,
"deadline_source": "none",
"recipient": "[email protected]",
"cognitive_load": "medium",
"confidence": 0.75
}
]
}
Email to: [email protected] Subject: Re: Catch up
Body: "Great seeing you at the conference! We should definitely grab lunch sometime. Take care!"
Output:
{
"commitments": []
}
Email to: [email protected] Subject: Re: Project update
Body: "Thanks for the update. Sarah mentioned she'll have the designs ready by Wednesday. Looking forward to seeing them."
Output:
{
"commitments": []
}
Email to: [email protected] Subject: Re: Sprint planning
Body: "I'll take the API refactoring ticket and the database migration. I should have the API work done by Thursday, and I'll start on the migration next week. I'll also review Tom's PR before the end of today."
Output:
{
"commitments": [
{
"action": "Complete API refactoring ticket",
"deadline": "2026-02-26",
"deadline_source": "explicit",
"recipient": "[email protected]",
"cognitive_load": "high",
"confidence": 0.9
},
{
"action": "Complete database migration",
"deadline": null,
"deadline_source": "inferred",
"recipient": "[email protected]",
"cognitive_load": "high",
"confidence": 0.85
},
{
"action": "Review Tom's PR",
"deadline": "2026-02-24",
"deadline_source": "explicit",
"recipient": "[email protected]",
"cognitive_load": "low",
"confidence": 0.9
}
]
}
Email to: [email protected] Subject: Re: Invoice
Body: "Thanks for sending the invoice. The payment was processed yesterday and should appear in your account within 2-3 business days."
Output:
{
"commitments": []
}