Recued
Menu
← Back to recipes

Unanswered inbound radar

by recued-core v3 39 views

Use “Unanswered inbound radar” in Recued. Who is waiting on you: inbound mail threads whose newest message is theirs, not yours, and has sat unanswered for N days. Decided by comparing each thread's last message against your last reply — no model call.

How it works 33 steps

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

Process (33 steps)
■ today_window date_period
Apply date_period
■ today_end_ms date_parse
Parse today window end as a date
■ since_ms math
Calculate: {{step.today_end_ms}} - {{config.lookback_days}} * 86400000
■ quiet_cutoff_ms math
Calculate: {{step.today_end_ms}} - {{config.quiet_days}} * 86400000
■ my_email_set compare
Check if setting my email has data
■ mailbox_set compare
Check if setting mail slug has data
■ mailbox_note ternary
Apply ternary
■ mail_readable all
Check if all conditions are true
◆ messages_raw core.mail.email.list
List mail email
skip: step.mail_readable equal false
■ messages default
Apply default
■ scanned_count count
Count items in messages
■ messages_flat map
Extract from each item
■ outbound filter
Filter by condition
■ outbound_count count
Count items in outbound
■ all_threads group_by
Group by thread_id
■ thread_count count
Count items in all threads
■ outbound_threads group_by
Group by thread_id
■ all_threads_keyed map
Extract from each item
■ outbound_keys map
Extract from each item
■ their_word_last filter
Filter by condition
■ waiting_threads filter
Filter by condition
■ waiting_count count
Count items in waiting threads
■ latest_by_thread sort
Sort by
■ waiting_detailed find
Find first match in
■ waiting_rows_raw map
Extract from each item
■ waiting_dated filter
Filter by condition
■ waiting_aged map
Extract last_at from each item
■ waiting_sorted sort
Sort by
■ waiting_rows slice
Take a subset of
■ waiting_table_last_at_text_dated map
Extract last_at from each item
■ waiting_table to_table
Format results as a data table
■ config_note ternary
Apply ternary
■ card to_summary
Format results as a summary card
▼
Output
summary card
table waiting_table
json waiting_rows
Settings 6 configurable

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

my email setting =
mail slug setting = [object Object]
row limit setting = 25
quiet days setting = 2
scan limit setting = 1000
lookback days setting = 30

Uses (1 operation)

Mail List mail email core.mail.email.list

Trust & control

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

What it's allowed to do

Read Mail core.mail.email.list read-only

Data it touches

SurfacesMail

About

Tags

mailinboxunansweredradarfollow-updigestpack:daily-ops

Details

33 steps 6 configurable settings recipe_id: unanswered-inbound-radar