Recued
Menu
← Back to recipes

Recheck a mail action-required signal

by recued-core v1 32 views

Use “Recheck a mail action-required signal” in Recued. It provides a read-only current-state query for a provider records callback.

How it works 44 steps

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

Data fetch
▼ message core.mail.get
Get mail
▼
Process (43 steps)
■ defaults defaults
Apply defaults
■ source_is_inbound compare
Check if source direction equals inbound
■ bounded_min_confidence clamp
Clamp setting min confidence between 0 and 1
■ bounded_urgent_window_hours clamp
Clamp setting urgent window hours between 1 and 8760
■ thread_id default
Apply default
■ has_thread_id compare
Check if thread id has data
■ read_thread all
Check if all conditions are true
◆ thread core.mail.thread-read
Thread read mail
skip: step.read_thread not_equal true
■ thread_messages default
Apply default
■ thread_message_count count
Count items in thread messages
◆ thread_body_reads core.mail.body-read
Body read mail
■ thread_messages_with_body filter
Filter by condition
■ thread_body_count count
Count items in thread messages with body
■ thread_body_count_complete compare
Check if thread body count equals thread message count
■ thread_truncated_reads filter
Filter by condition
■ thread_has_truncation compare
Check if thread truncated reads has data
■ thread_bodies_complete all
Check if all conditions are true
■ thread_messages_with_direction map
Extract item.hot_fields.direction from each item
■ thread_rows map
Extract from each item
■ read_single all
Check if all conditions are true
◆ single_body_read core.mail.body-read
Body read mail
skip: step.read_single not_equal true
■ single_body default
Apply default
■ single_body_present compare
Check if single body has data
■ single_body_untruncated compare
Check if single body read truncated does not equal true
■ single_source_complete all
Check if all conditions are true
■ single_rows ternary
Apply ternary
■ analysis_rows ternary
Apply ternary
■ body_present compare
Check if analysis rows has data
■ source_complete ternary
Apply ternary
■ analysis_ready all
Check if all conditions are true
■ protect pii-protect
Apply pii-protect
■ protected_segments map
Extract from each item
■ body join
Join items with " --- next message --- "
✦ classify core.ai.classify
AI classifies data into one of the given categories
skip: step.analysis_ready not_equal true
■ restore pii-restore
Apply pii-restore
■ defaults_2 defaults
Apply defaults
■ is_actionable any
Check if any of the conditions are true
■ meets_confidence compare
Check if confidence is at least bounded min confidence
■ signal_active all
Check if all conditions are true
■ threshold_state switch
Map signal active to one of: true
■ classified_state ternary
Apply ternary
■ state ternary
Apply ternary
■ card to_summary
Format results as a summary card
▼
Output
summary card
Settings 4 configurable

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

mail slug setting = [object Object]
record id setting = [object Object]
min confidence setting = 0.72
urgent window hours setting = 24

Uses (4 operations)

Mail Get mail core.mail.get
Mail Thread read mail core.mail.thread-read
Mail Body read mail core.mail.body-read
AI models AI classifies data into one of the given categories core.ai.classify

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.get read-only
Read Mail core.mail.thread-read read-only
Read Mail core.mail.body-read read-only
Read AI models core.ai.classify read-only

Data it touches

SurfacesMailAI models

About

Tags

mailemailaction-requiredsignalqueryread-onlymcppack:mail-signals

Details

44 steps 4 configurable settings recipe_id: mail-action-required-query