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 runs at 7:00 every day, fetches the Gmail received since yesterday and asks OpenAI for summary points and action items. A styled HTML email with the result goes to the recipients you set.
Daily email summary with action items, mailed by Gmail 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.
Daily schedule
It starts by itself at 7:00 every day, in the workflow’s timezone, and reads:
One styled HTML email a day with a summary of the mail that came in and a list of action items by name
What you need before you start.
Mailbox and sender
Fetches the mail since yesterday and sends the finished summary as an HTML email.
NeedsA Gmail OAuth2 credential, used by two nodes
Language model
Reads the gathered mail data and returns the summary and the action items as JSON with gpt-6-luna.
NeedsOpenAI API key
Checked by Mindket on 13 Nov 2026
This n8n workflow mails you a daily summary of your inbox with a list of action items. At 7:00 it searches Gmail for the mail received since the start of yesterday and gathers the sender, the recipients and a short preview of each message. An OpenAI model turns that data into a list of summary points and a list of actions, each with a name. A last step puts both lists into a styled HTML email and sends it through Gmail to the recipients you set. Five nodes run the flow, and four sticky notes explain the steps.
Team leads and small teams who want one morning mail that says what came in and who has to act on it. Skip it for a mailbox with confidential mail, since the previews go to OpenAI.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Business | Team leads | Send the team one note on what came in overnight | A lead mails the team a summary with three actions by name. |
| Support | Support teams | See which customer threads need an owner | A shared inbox gets a list of who follows up on which thread. |
| Agencies | Agency owners | Keep up with client mail without opening every thread | An owner reads six points over coffee. |
| Operations | Office managers | Catch deadlines in a shared mailbox | A manager sees an invoice question assigned to finance. |
You need a little n8n: import a file, add two credentials, replace three address placeholders and set a timezone. The workflow’s own sticky notes give no setup time.
Any n8n that can reach Gmail and OpenAI will run it.
Daily 7AM TriggerDownload saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Two accounts and a few addresses cover every step.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| Gmail | An account and a Gmail OAuth2 credential, used to read mail and to send the summary |
| OpenAI | An API key |
| Addresses | Your mailbox address, the recipient and an optional CC address |
workflow.json.Fetch Emails Past 24 Hours and Send Summary Morning.Summarize Emails with OpenAI Morning.Fetch Emails Past 24 Hours, put your mailbox address where the search says <YOUR_EMAIL_ADDRESS>.Send Summary Morning, replace <TEAM_EMAIL_ADDRESS> with the recipient and <CC_EMAIL_ADDRESS> with the CC address, or remove the CC.Asia/Kolkata.Publish the workflow and leave it. At 7:00 each day in the workflow’s timezone, the recipients get one HTML email with the summary points and the actions. The workflow only reads mail and sends the summary, and it changes nothing in the inbox.
| To change | Where |
|---|---|
| What the model reports | The prompt in Summarize Emails with OpenAI Morning, keeping the JSON shape |
| The model | The same node |
| Which mail is read | The search in Fetch Emails Past 24 Hours |
| Which fields the model sees | The list in Organize Email Data Morning |
| The look of the email | The HTML and CSS in Send Summary Morning |
| The time | Daily 7AM Trigger, and the timezone in the workflow’s settings |
Overnight a customer asks about an invoice, a supplier confirms a delivery and a colleague asks for a review by Friday.
Send Summary Morning mails a styled email with three summary points. Under Actions it lists a name beside each task, such as who answers the customer and who does the review.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. Here a clock box starts the run, a Gmail box fetches mail, a gather box bundles it, an OpenAI box writes the summary and a second Gmail box mails it. Click Test workflow once to see each box’s output.
For experts. The model must answer in a fixed JSON shape, and the email template reads that shape directly.
| Node | What it does | What to know |
|---|---|---|
Fetch Emails Past 24 Hours | Gmail node 2.1, Get Many with Return All | The search is your address plus after: yesterday’s date, built in an expression. Simplify is on by default |
Organize Email Data Morning | Aggregate, all item data into one item | Keeps id, From, To, CC and snippet in a field named data |
Summarize Emails with OpenAI Morning | The OpenAI node, version 1.7, with Output Content as JSON on | The node adds a system message about JSON and parses the reply into message.content |
Send Summary Morning | Gmail node 2.1, send | HTML is the node’s default email type. The template maps the two lists into li items with their text escaped |
The model is near its shutdown date, its JSON mode needs a check and the timezone is set to India.
gpt-4o-mini-2024-07-18 with a shutdown on 14 January 2027 and names gpt-6-luna as the replacement. This node has no tools, so Mindket’s copy uses gpt-6-lunagpt-6-luna page lists structured outputs as supported without naming JSON mode. Check the first run, and if OpenAI refuses it, turn off Output Content as JSON in the node and ask for JSON in the promptAsia/Kolkata, so 7:00 means 7:00 in India until you change itafter: takes a date, so the search covers everything from the start of yesterday to the 7:00 run, which is more than the 24 hours its name suggestsCC name can also differ in case from the Cc header the Gmail node asks for, so check that the CC list reaches the model if you need itAn n8n workflow that runs at 7:00 every day and fetches the Gmail messages received since the start of yesterday. It gathers their
senders, recipients and previews into one item and asks OpenAI for a summary and a list of action items, each with a name. A last
step mails the result as a styled HTML email to the recipients you choose.
workflow.json: the workflow as n8n exports it, five nodes that run and four sticky notes. It holds no credential.README.md: these notes.gpt-6-luna, in place of gpt-4o-mini. See "Good to know" for the dates.Fetch Emails Past 24 Hours began with a company mailbox address. It now begins with the placeholder<YOUR_EMAIL_ADDRESS>.Send Summary Morning are now the placeholders <TEAM_EMAIL_ADDRESS> and<CC_EMAIL_ADDRESS>.< or an & in them cannot change theworkflow.json.Fetch Emails Past 24 Hours and in Send Summary Morning.Summarize Emails with OpenAI Morning.Fetch Emails Past 24 Hours, put your mailbox address where the search says <YOUR_EMAIL_ADDRESS>.Send Summary Morning, replace <TEAM_EMAIL_ADDRESS> with the recipient and <CC_EMAIL_ADDRESS> with the CC address, orAsia/Kolkata.Daily 7AM Trigger starts the run at 7:00 each day in the workflow's timezone.Fetch Emails Past 24 Hours runs a Gmail search made of your address and after: yesterday's date, with Return All on.Organize Email Data Morning folds all messages into one item. It keeps the fields id, From, To, CC and snippet.Summarize Emails with OpenAI Morning sends that data with a prompt that asks for key details, issues to look at and actionsummary_of_emails, a list of points, and actions, a list of names with an action each.Send Summary Morning fills an HTML template with the points and the actions and mails it. The subject holds yesterday's dateSummarize Emails with OpenAI Morning. Keep the JSON shape, since the email template reads it.Fetch Emails Past 24 Hours.Organize Email Data Morning.Send Summary Morning.Daily 7AM Trigger, and the timezone in the workflow's settings.gpt-4o-mini-2024-07-18 with a shutdown on 14 January 2027gpt-6-luna as the replacement. The node has no tools, so the swap is a plain model change.gpt-6-luna page lists structured outputs as supported without naming JSONAsia/Kolkata, so 7:00 means 7:00 in India until you change it.after: takes a date, so the search covers everything from the start of yesterday to the 7:00 run, which is more than theCC name in the field listCc header the Gmail node asks for, so check that the CC list reaches the model if you need it.NOTICE.md 571 B README.md 6 KB workflow.json 8 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…