Recued
Menu
← Back to recipes

Extract tasks from mail

by recued-core v3 50 views

Use “Extract tasks from mail” in Recued. Extract action items from an inbound email into Recued's task tracker — title, due date, and priority (low / medium / high). Thread-aware; fires on each inbound message, and records a task only when the message actually asks the reader to do something.

How it works 29 steps

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

Data fetch
▼ message core.mail.get
Get mail
▼
Process (28 steps)
■ defaults defaults
Apply defaults
■ has_thread_id compare
Check if thread id has data
◆ thread core.mail.thread-read
Thread read mail
skip: step.has_thread_id not_equal true
■ thread_messages default
Apply default
◆ thread_body_reads core.mail.body-read
Body read mail
■ 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 core.mail.body-read
Body read mail
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
✦ classify core.ai.classify
AI classifies data into one of the given categories
skip: step.skip_empty equal true
■ not_actionable compare
Check if classify category does not equal actionable_task
■ skip_extract any
Check if any of the conditions are true
✦ extract core.ai.extract
AI extracts structured fields from data
skip: step.skip_extract equal true
■ restore pii-restore
Apply pii-restore
■ defaults_2 defaults
Apply defaults
■ assignee_email trim
Trim whitespace from extracted assignee email
■ due_at date_parse
Parse restore restored due at iso as a date
■ missing_title compare
Check if extracted title is empty
■ skip_create any
Check if any of the conditions are true
◆ resolve_assignee core.contact.resolve
Resolve contact
skip: step.assignee_email is_empty
■ task_key_hash sha256
Apply sha256
◆ create core.work-entity.task.create
Create work entity task
skip: step.skip_create equal true
■ card to_summary
Format results as a summary card
▼
Output
summary card
Settings 1 configurable

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

container names setting = [object Object]

Uses (7 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
AI models AI extracts structured fields from data core.ai.extract
Contacts Resolve contact core.contact.resolve
Tasks & notes Create work entity task core.work-entity.task.create

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
Read AI models core.ai.extract read-only
Read Contacts core.contact.resolve read-only
Write Tasks & notes core.work-entity.task.create external change

Data it touches

SurfacesMailAI modelsContactsTasks & notes
Warehousedata.mail

About

Tags

emailmailtaskwork-entityreactivesilent-producerpack:personal-organizerai_surface

Details

29 steps 1 configurable settings recipe_id: extract-tasks-from-mail