Skip to content
Recued
Menu
← Back to recipes

Extract commitments from mail (D-145 PA10)

by recued-core v1

Extract commitments from an inbound email into Recued's commitment tracker — who promised what to whom, with optional deadline and monetary amount. Thread-aware: a reply like 'yes, please send that by Friday' binds to the prior message, not the reply. Fires automatically on each inbound message; records only extractions above the confidence floor (default 0.7), resolves the counterparty to a known contact when possible, and the extractor model sees only PII-aliased text, never the raw sender.

How it works 35 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Data fetch
message ?
Process (34 steps)
subject default
Apply default
from_email default
Apply default
thread_id default
Apply default
has_thread_id compare
Check if thread id has data
thread ?
skip: step.has_thread_id not_equal true
thread_messages default
Apply default
thread_body_reads ?
thread_messages_with_body filter
Filter by condition
thread_body_segments pluck
Extract result.body from each item
thread_body join
Join items with " --- "
single_body_read ?
skip: step.has_thread_id equal true
single_body default
Apply default
body ternary
Apply ternary
body_present compare
Check if body has data
skip_empty compare
Check if body present does not equal true
protect pii-protect
Apply pii-protect
extract ?
skip: step.skip_empty equal true
restore pii-restore
Apply pii-restore
extracted_statement default
Apply default
extracted_direction default
Apply default
extracted_confidence default
Apply default
extracted_counterparty_email default
Apply default
counterparty_email trim
Trim whitespace from extracted counterparty email
extracted_monetary_amount default
Apply default
extracted_monetary_currency default
Apply default
promised_for_at date_parse
Parse restore restored promised for at iso as a date
has_monetary all
Check if all conditions are true
monetary_value merge
Combine objects together
skip: step.has_monetary not_equal true
below_threshold compare
Check if extracted confidence is less than setting confidence threshold
missing_statement compare
Check if extracted statement is empty
skip_create any
Check if any of the conditions are true
resolve_counterparty ?
skip: step.counterparty_email is_empty
create ?
skip: step.skip_create equal true
card to_summary
Format results as a summary card
Settings 1 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

confidence threshold setting = 0.7

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Where it runs

Device + server Runs on your device (browser) or your server.

Data it touches

Warehousedata.mail

About

Tags

emailmailcommitmentwork-entityreactivesilent-producerpack:personal-organizerai_surface

Details

35 steps 1 configurable settings recipe_id: extract-commitments-from-mail