Summary:
This workflow listens for new Gmail messages, extracts and cleans email content, generates embeddings via OpenAI, stores them in a Qdrant vector database, and then enables a RetrievalâAugmentedâGeneration (RAG) agent to answer user queries against those stored emails. Itâs designed for teams or bots that need conversational access to past emails.
emails_history collection.emails_historyqdrantCollection.value in all Qdrant nodes if you prefer a different collection.everyMinute to everyFiveMinutes or a webhookâstyle trigger.metadataValues to tag by folder, label, or sender domain.batchSize to suit your inbox volume.systemMessage in the RAG Agent node to set the assistantâs tone, instruct on date handling, or add additional tools.

