Duaer

AI recipes

Let AI draft Gmail replies to new emails with Duaer

In Duaer, each new email goes to a model that writes a reply, saved as a Gmail draft in the same thread. You review and send; the AI never sends for you.

Build the reply draft flow in Duaer

  1. Add Gmail Trigger polling every minute, Simplify off for the body, filtered to unread.
  2. Optionally add If to skip noreply and notification senders.
  3. Add Basic LLM Chain with Duaer Chat Model on Chat Model. Prompt: Write a short, polite reply draft. Output only the body. Original email: {{ $json.text }}.
  4. Add Gmail with Resource Draft and Operation Create. Subject: Re: {{ $('Gmail Trigger').item.json.subject }}; Message: {{ $json.text }}.
  5. Under Options add Thread ID {{ $('Gmail Trigger').item.json.threadId }} and To Email {{ $('Gmail Trigger').item.json.from.value[0].address }} so the draft sits in the original thread.
  6. Publish the digital organization.

Make Duaer drafts sound like you

  • State your role, tone, and what not to promise in the prompt, such as Do not promise refunds; hand off to a person.
  • To look up orders or calendars, swap Basic LLM Chain for an AI Agent with the matching tools.

Questions

Does Duaer send the reply for me?

No. This Duaer flow only creates Gmail drafts; you decide whether to send.

Why is the Duaer draft not in the original thread?

Add Thread ID under Options on the Duaer Gmail draft node, using threadId from the trigger.

In this section