PICKED FROM N8N.IO · EMAIL & INBOX

This workflow reads starred and unread Gmail messages, asks OpenAI what needs doing and for a suggested reply, then creates a Todoist task holding that advice. It checks open tasks so it does not duplicate them, and closes a task when the email is unstarred.

Template by Łukasz · 5.1k views on n8n.io · listed there as “Parse Gmail inbox and transform into Todoist tasks with Solve Propositions”

THE WORKFLOW21 NODES
MWhen clicking‘Test workflow’@Mark As Read@Star@Get Starred FromInbox@Get Unread FromInbox⑂If Task Not Exist◆OpenAI Chat Model{}Structure OutputTodoist Ready⑂If AI respondedproperlyTCreate TodoistTask@Get Full Message✦Summarize Message⋈Enrich EmailsWith Tasks⋈Enrich Tasks withEmails⑂If EmailUnstarred (Not E…TClose TaskEEmail Trigger(IMAP)◷Schedule Trigger–No Operation, donothing⋈Merge Starred andUnread MessagesTGet Open Tasks
DIFFICULTY
Intermediate
NODES
21
USES AI
Yes
PUBLISHED
April 2025

001 / WHAT HAPPENS

  1. 01

    A schedule, email trigger or manual run starts the workflow and gathers starred and unread Gmail messages.

  2. 02

    It fetches the open Todoist tasks and skips emails that already have one.

  3. 03

    OpenAI reads each email and returns suggested actions and a proposed reply in a set format.

  4. 04

    A Todoist task is created for each email with the suggestions attached.

  5. 05

    When an email is unstarred, its matching Todoist task is closed.

WHO IT SUITS

Suits owners or shared inboxes who want a to-do list built from email, with AI suggesting the next step before anyone replies.

CONNECTS

  • Gmail
  • Todoist
  • OpenAI

002 / BEFORE YOU USE IT HERE

  • !Customer or staff details sent to an overseas AI provider such as OpenAI is a cross-border disclosure under APP 8 of the Privacy Act, so say so in your privacy policy.
  • !The workflow stars, marks as read and closes tasks on its own, so run it on a test inbox first to see which emails it touches.
  • !Set the workflow timezone to Australia/Sydney (or your city) so schedules and dates match local time.
  • !It has several trigger options and merge steps, so disable the triggers you do not use to avoid it running twice.

LOCAL SWAP

Swap Todoist for Asana, Trello or Microsoft To Do nodes if your team uses those.

Need n8n and the AI hosted in Australia? →

004 / QUESTIONS

Anything else is quicker to answer on a call. Thirty minutes, free, with the people who would build it.

Yes. Every template on this list is free on n8n.io. You need an n8n account (n8n Cloud or self-hosted) and accounts for the apps it connects to, some of which charge for API use.

We adapt templates to your systems, add approval steps where customers are involved, host n8n in Australia when the data calls for it and hand it over documented.

Book a free call→