anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
An n8n workflow that reads new mail over IMAP, has a model on OpenRouter summarize each message and pushes the summary to a LINE chat.
Email summaries from OpenRouter sent to a LINE chat is an n8n workflow in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
New unread email
It starts when an unread email arrives in the IMAP inbox:
A short summary of each new email, delivered to a LINE chat
What you need before you start.
Mailbox
Supplies new unread mail over IMAP and leaves it unread.
NeedsAn IMAP host, port and login
Language model
Summarizes each email with a Llama model.
NeedsAn OpenRouter API key in a Header Auth credential
Messenger
Receives the summary as a pushed text message.
NeedsA channel access token and a user id
Checked by Mindket on 13 Nov 2026
This n8n workflow reads new mail over IMAP and sends each message to a model on OpenRouter. The model writes a short summary, and deadlines and action items come first when the mail matters. The summary is pushed to a LINE chat through LINE’s Messaging API. Three nodes run it, beside four sticky notes.
People who live in LINE and want their inbox condensed into short messages there. Skip it if you have no LINE channel with the Messaging API, or if you cannot send mail text to OpenRouter and its model providers.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Family | Parents | Catch school and club deadlines | A parent gets the date a form is due in a chat message. |
| Freelance | Freelancers | Skim client mail on the phone | A freelancer reads one line per message instead of opening the inbox. |
| Operations | Small business owners | Spot payments and sign-up dates | An owner sees which supplier mail has a due date. |
| Travel | Frequent travellers | Keep booking mail short | A traveller gets one line per booking change. |
You need a little n8n, a LINE channel and two API credentials: import a file, add three credentials and paste your LINE user id.
Any n8n that can reach your mail server, OpenRouter and LINE will run it. The summaries arrive in the LINE chat of the user id you set.
Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Setup takes three credentials and one user id.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| Mailbox | IMAP host, port and login |
| OpenRouter | An account and an API key |
| LINE | A channel with the Messaging API, its channel access token and a user id |
workflow.json.Read emails (IMAP).Authorization and the value Bearer <YOUR_OPENROUTER_API_KEY>, using your key, and select it in Send email to A.I. to summarize.Bearer <YOUR_LINE_CHANNEL_ACCESS_TOKEN> and select it in Send summarized content to messenger.<YOUR_LINE_USER_ID> with the receiver’s id.Activate the workflow and leave it running. A new unread mail is summarized, and the summary arrives in LINE a moment later. Edit the prompt to change what the summary stresses.
| To change | Where |
|---|---|
| The instructions to the model | The prompt in Send email to A.I. to summarize |
| The model | model in the same body |
| Which mail is read | The mailbox and options of Read emails (IMAP) |
| Who receives the summary | to in the LINE body |
A parent gets a school email about a trip and a payment due on the first of the month.
The model replies with the due date in bold at the top and one line about the trip. LINE shows that message in the parent’s chat.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. Here one box reads the mail, one asks the model and one posts to LINE. Try it with a mailbox that gets little mail.
For experts. One IMAP trigger and two HTTP Request nodes with Header Auth, and no AI node. The email text is JSON-escaped inside the request body, and the summary is escaped the same way before the push.
| Node | What it does | What to know |
|---|---|---|
Read emails (IMAP) | Fires for unread mail and leaves it unread | Version 2.2 remembers the last message id |
Send email to A.I. to summarize | Posts the mail to OpenRouter’s chat completions address | The model id is in the body |
Send summarized content to messenger | Pushes the text to LINE | The receiver is the to user id |
Every unread mail becomes a model call and a LINE push, so a busy inbox can add up in cost.
meta-llama/llama-3.1-70b-instruct:free. The same model without :free is listed, so this copy uses it, and it is no longer freeAn n8n workflow that reads new mail over IMAP, sends each message to a model on OpenRouter for a short summary, and pushes the summary to a LINE chat through LINE's Messaging API.
workflow.json: the workflow as n8n exports it, seven nodes: three that do the work and four sticky notes. It holds no credential.README.md: these notes.meta-llama/llama-3.1-70b-instruct:free. OpenRouter's public model list, read on 12 November 2026, no longer shows it. The same model without :free is listed with a context of 131072 tokens and a price of 0.00000072 USD per token for input and output, and the node uses it. It is no longer free.Read emails (IMAP) moves from version 2 to 2.2. In n8n's source, versions up to 2 do not remember the last message seen, and this file leaves mail unread after processing. Each new arrival would then fetch every unread message again. Version 2.2 follows the message ids.<YOUR_LINE_USER_ID> now.workflow.json.Read emails (IMAP).Authorization and the value to Bearer <YOUR_OPENROUTER_API_KEY>, with your key in place of the placeholder. Select it in Send email to A.I. to summarize.Authorization and the value Bearer <YOUR_LINE_CHANNEL_ACCESS_TOKEN>. Select it in Send summarized content to messenger.<YOUR_LINE_USER_ID> with the receiver's user id.Read emails (IMAP) reads the inbox and fires for unread mail. It leaves each message unread.Send email to A.I. to summarize posts the sender, subject and text to OpenRouter's chat completions address. The prompt asks for a summary of under ten words when the mail is unimportant, and for deadlines and action items, with an urgent marker, when it matters.Send summarized content to messenger posts the summary as a text message to LINE's push address.Send email to A.I. to summarize.model in the same body.Read emails (IMAP).to in the LINE body.NOTICE.md 679 B README.md 4 KB workflow.json 5 KB
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
zarazhangrui · Skill
Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…
iptv-org · Kit
Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…