Recued
Menu
← Back to recipes

Signal when incoming mail requires action

by recued-core v2 33 views

Use “Signal when incoming mail requires action” in Recued. Owner-armed producer for the provider records signal.

How it works 25 steps

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

Data fetch
▼ message core.mail.get
Get mail
▼
Process (24 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
■ bounded_mcp_callback_ttl_seconds clamp
Clamp setting mcp callback ttl seconds between 60 and 86400
◆ body_read core.mail.body-read
Body read mail
skip: step.source_is_inbound not_equal true
■ body default
Apply default
■ body_present compare
Check if body has data
■ protect pii-protect
Apply pii-protect
✦ classify core.ai.classify
AI classifies data into one of the given categories
skip: step.body_present 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
■ recued_enabled any
Check if any of the conditions are true
■ mcp_enabled any
Check if any of the conditions are true
■ mcp_destination_present compare
Check if setting mcp destination contract id has data
■ send_recued all
Check if all conditions are true
■ send_mcp all
Check if all conditions are true
■ notify_title switch
Map category to one of: reply_needed, urgent_action
◆ notify_recued core.notification.send
Send notification
skip: step.send_recued not_equal true
◆ notify_mcp core.notification.recipe-callback
Recipe callback notification
skip: step.send_mcp not_equal true
■ card to_summary
Format results as a summary card
▼
Output
summary card
Settings 6 configurable

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

delivery mode setting = recued
min confidence setting = 0.72
urgent window hours setting = 24
notification channels setting = [object Object]
mcp callback ttl seconds setting = 21600
mcp destination contract id setting =

Uses (5 operations)

Mail Get mail core.mail.get
Mail Body read mail core.mail.body-read
AI models AI classifies data into one of the given categories core.ai.classify
Notifications Send notification core.notification.send
Notifications Recipe callback notification core.notification.recipe-callback

Trust & control

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

Permissions it requires

Send notifications
Declared by the recipe — Recued grants these at install, where you review them before approving.

What it's allowed to do

Read Mail core.mail.get read-only
Read Mail core.mail.body-read read-only
Read AI models core.ai.classify read-only
Read Notifications core.notification.send external change
Write Notifications core.notification.recipe-callback external change

Data it touches

SurfacesMailAI modelsNotifications
Warehousedata.mail

About

Tags

mailemailaction-requiredsignalnotificationmcpreactivepack:mail-signals

Details

25 steps 6 configurable settings recipe_id: mail-action-required-watch