Summarize Your Emails with AI (via OpenAI) and Send to Line Messenger
## Who is this template for? - Anyone who is drowning in emails - Busy parents who have a lot of school emails - Busy executives with too many emails  ## Case Study I get too many emails from my kids' school about soccer practice, lunch orders, and parent events. I use this workflow to read all the emails and tell me what is important and what requires actioning. [Youtube tutorial](https://www.youtube.com/watch?v=c1ZcCnca7PM) ## What this workflow does 1. It uses IMAP to read the emails from your email account (i.e., Gmail). 2. It then passes the email to Openrouter.ai and uses a free A.I. model to read and summarize the email. 3. It then sends the summary as a message to your messenger (i.e., Line). ## Setup 1. You need to find your email server IMAP credentials. 2. Input your openrouter.ai API credentials or replace the HTTP request node with an A.I. node such as OpenAI. 3. Input your messenger credentials. I use Line, but you can change the node to another messenger like Telegram. 4. You need to change the message ID to your ID inside the HTTP request. You can find your user ID inside the https://developers.line.biz/console/. Change the to: {insert your user ID}. ## How to adjust it to your needs - You can change the A.I. prompt to fit your needs by telling it to mark emails from a certain address as important. - You can change the A.I. model from the current meta-llama/llama-3.1-70b-instruct:free to a paid model or other free models. - You can change the messenger node to Telegram or any other messenger app you like.
- Platform
- n8n
- Category
- Communication
- Price
- $9.99
- Creator
- Keith Rumjahn
- if
- stickyNote
- httpRequest
- emailReadImap
- chainLlm
- lmChatOpenRouter
- outputParserStructured
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Communication workflows
- Automate Outbound Calls with Ultravox AI and Twilio$4.99
- Automate Intelligent Email Classification with AI in Gmail$4.99
- Generate AI videos and carousels with Blotato for Instagram and TikTok$9.99
- Automating WhatsApp Replies Using GoHighLevel with Redis and Anthropic$24.99
- Automate Gmail Email Labeling with AI for Enhanced Organization$14.99
- Automate Email Summarization and Logging with AI and Google Sheets$9.99
More from Keith Rumjahn
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.