Duaer

Office tasks

Summarize new emails and list to-dos automatically with Duaer

In Duaer, each new email goes to Basic LLM Chain with Duaer Chat Model, which writes a short summary and to-dos, then posts them to WeCom, Slack, or email.

Build the email summary flow in Duaer

  1. Add a trigger: Gmail Trigger for Gmail (turn off Simplify to get the body), or Email Trigger (IMAP) for any IMAP mailbox.
  2. Add Basic LLM Chain with Duaer Chat Model on Chat Model, and pick a model under Model. Set Source for Prompt (User Message) to Define below and Prompt (User Message) to: Summarize this email in one or two sentences, then list what I need to do, separated by semicolons, or none. Use only the email. From: {{ $json.from.text }} Subject: {{ $json.subject }} Body: {{ $json.text }}. Match the field names to your trigger output.
  3. Add a notifier: a WeCom group bot, Slack, or Send Email, with {{ $json.text }} in the message.
  4. Publish the workflow. Every new email is summarized from then on.

Post only urgent mail

  1. Before Basic LLM Chain, add Duaer Judgment with Text {{ $json.text }} and one question: Name is_urgent, Type Yes / No, Instructions: the email is urgent and needs action today.
  2. Duaer Judgment outputs only its verdict. Add Merge with Input 1 from the trigger and Input 2 from Duaer Judgment, Mode Combine, Combine By Position.
  3. Add If with the condition {{ $json.judgment.is_urgent }} is true, and wire the true output to Basic LLM Chain.

Basic LLM Chain and Duaer Judgment each run once per email at the selected model’s price in AI credits. Refer to Duaer plans and credits.

Questions

Can Duaer summarize mail from a non-Gmail mailbox?

Yes. Duaer reads any IMAP mailbox with Email Trigger (IMAP) and hands the body to Basic LLM Chain.

Does Duaer invent to-dos in the summary?

Models can make mistakes. Asking for the email only, and none when there is nothing to do, keeps that rare; still read important mail yourself.

In this section