๐Ÿ“Š Send legal AI news digests from IMAP email with OpenAI, Tavily, and Gmail

โšก 5 views ยท ๐Ÿ“Š Market Research & Insights

Description

Quick overview

Monitor an inbox, keep only emails about AI in the legal industry (or any topic), research each topic with web search, and email a branded HTML digest.

How it works

  1. A schedule trigger polls an IMAP mailbox every few hours for unread emails.
  2. Each message is extracted and passed to an agent that scores it for relevance
  3. Irrelevant emails are filtered out and the source message is deleted from the inbox
  4. Relevant Emails are added to the digest
  5. An email summary is sent to the recipient

Setup

  1. Install the community nodes n8n-nodes-imap and @tavily/n8n-nodes-tavily (Settings โ†’ Community Nodes).
  2. Add credentials for IMAP, OpenAI, Tavily, and Gmail OAuth2.
  3. Set the recipient address in the Gmail โ€” Send Digest node.
  4. Optionally adjust the polling interval and the IMAP mailbox path
  5. Set the cadence for you email digest

Requirements

Customization

Additional info

Support is available at support@ais.email

๐Ÿ”— Nodes Used

Gmail, Schedule Trigger, Filter, AI Agent, OpenAI Chat Model

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup