Sort mail into my built-in task lists
Say which built-in to-do list (calendar, email or other) each email would become a task in when I turn my mail into tasks
Say which built-in to-do list (calendar, email or other) each email would become a task in when I turn my mail into tasks
Give messages (at most 50, each { subject?, from?, labels?, list_unsubscribe?, has_invite? }). Each is tested against the email_split rows of calendar-tasks.json in order (an invite or invitation subject goes to calendar; a list-unsubscribe header, a promotions, updates, social, forums or spam label, or unsubscribe in the subject goes to other; anything else to email), and the first row that matches names its list. Answers messages ({ index, subject, smart_list }) and counts per list. It reads only the messages it is given: it reads no mailbox, makes and saves no task, and sends nothing. The Calendar task screen (calendar-tasks.mjs, kept in this folder but not run here) does the rest of the old job: it keeps named task lists with counts, groups and sorts them, schedules a task onto a day or time, and saves each email as a task with its title, priority, duration, deadline and repeat rule. That needs the records store and the timed-action parts, which this run does not have.
Nothing: your AI starts it with your words.
Connect the AI you already use to Trillion once. Then ask in your own words; your AI finds this tool by what it does and runs it.
Say to your AI: “Use Trillion to say which built-in to-do list (calendar, email or other) each email would become a task in when I turn my mail into tasks”