Distill newsletters weekly
Use “Distill newsletters weekly” in Recued. Reads the newsletter mail filed in one folder over the past week, groups it by sender, and renders one reading digest: a dated table of what arrived plus a per-source summary of what each sender covered. It reads information without changing data in the connected service.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (21 steps)
window
date_period
Apply date_period
since
date_parse
Parse window start as a date
until
date_parse
Parse window end as a date
scan_all_folders
compare
Check if setting newsletter folder is empty
messages_foldered
?
skip: step.scan_all_folders equal true
messages_all
?
skip: step.scan_all_folders not_equal true
records
coalesce
Use the first available value from: messages foldered records, messages all records,
scanned_count
count
Count items in records
has_newsletters
compare
Check if scanned count is greater than
flat
map
Extract from each item
dated
map
Extract received_at from each item
sorted
sort
Sort by
rows
slice
Take a subset of
issues_table
to_table
Format results as a data table
by_source
group_by
Group by source
sources
to_list
Apply to_list
source_count
count
Count items in sources
summaries
?
skip: step.has_newsletters not_equal true
summary_rows
default
Apply default
summary_table
to_table
Format results as a data table
card
to_summary
Format results as a summary card
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
period
setting
=
last_7_days
end hour
setting
=
9
weekdays
setting
=
1
mail slug
setting
=
primary
row limit
setting
=
25
max length
setting
=
120
scan limit
setting
=
200
start hour
setting
=
7
newsletter folder
setting
=
Newsletters