{"product_id":"gmail-unread-email-summaries-with-n8n-ollama-llama-3-2","title":"Gmail Unread Email Summaries with n8n + Ollama Llama 3.2","description":"\u003ch3\u003eTurn unread Gmail into instant one-line AI summaries with n8n + Ollama (Llama 3.2)\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow automatically pulls up to 10 unread Gmail emails on a schedule and generates a one-line, main-point summary for each message using an Ollama-hosted \u003cstrong\u003ellama3.2\u003c\/strong\u003e model—so you can quickly triage what matters without opening every email.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns on a recurring schedule\u003c\/strong\u003e using an n8n Schedule Trigger.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches up to 10 unread emails from Gmail\u003c\/strong\u003e (it excludes \u003cstrong\u003espam and trash\u003c\/strong\u003e based on the Gmail search query behavior).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends each email’s text to an AI Agent\u003c\/strong\u003e powered by an Ollama Chat Model (\u003cstrong\u003ellama3.2\u003c\/strong\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates a short, one-line summary\u003c\/strong\u003e based only on the email content.\u003c\/li\u003e\n  \u003cli\u003eLets you \u003cstrong\u003eadjust the polling interval\u003c\/strong\u003e and \u003cstrong\u003eGmail search query (q)\u003c\/strong\u003e to control frequency and filtering.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSaaS operators\u003c\/strong\u003e who need fast visibility into customer updates and support requests.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAutomation engineers\u003c\/strong\u003e testing practical AI summarization patterns with n8n, Gmail, and Ollama.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBusy inbox workflows\u003c\/strong\u003e where you want a “daily brief” of unread messages without manual scanning.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTeam triage\u003c\/strong\u003e to help decide which emails require immediate attention.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n Schedule Trigger\u003c\/strong\u003e for timed runs.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail node\u003c\/strong\u003e to retrieve up to 10 unread emails and filter out spam\/trash.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8nnodes-langchainagent\u003c\/strong\u003e to orchestrate the summarization as an AI Agent.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8nnodes-langchainlm (Ollama Chat Model)\u003c\/strong\u003e configured with \u003cstrong\u003ellama3.2:latest\u003c\/strong\u003e via an Ollama API credential.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup requirements\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eConnect your Gmail account using \u003cstrong\u003eGmail OAuth2\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eProvide an \u003cstrong\u003eOllama API credential\u003c\/strong\u003e and ensure \u003cstrong\u003ellama3.2:latest\u003c\/strong\u003e is available in your Ollama instance.\u003c\/li\u003e\n  \u003cli\u003eAdjust the schedule interval and the Gmail \u003cstrong\u003esearch query (q)\u003c\/strong\u003e as needed.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46206014324915,"sku":"N8N-20792","price":20.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/z4wWix1Vg-MTebLTdZSKf_6zWXY4Yl.png?v=1791795861","url":"https:\/\/buyflowscripts.com\/products\/gmail-unread-email-summaries-with-n8n-ollama-llama-3-2","provider":"N8N Commerce","version":"1.0","type":"link"}