You will build a no-code n8n workflow that reads your Gmail, sorts each message into groups like receipts, alerts and newsletters, and emails you one daily digest with what needs a reply first. It suits anyone with a messy inbox. You need an n8n install, a Gmail app password and a Gemini API key.
YouTube video: My Autonomous n8n Inbox Agent (Auto-Sort & Digest)
Caption availability is unknown. Check the CC control in the YouTube player.
Choose a chapter (25)
- Video length
- 14 min 18 s
- Time to do it
- 45 minutes
- Difficulty
- Medium
- Steps
- 9
What you need
Steps
Install n8n on your own computer with npm or Docker, or sign up for n8n Cloud. Start it and open the editor in your browser.
Turn on 2-step verification in your Google account, then create an app password for Gmail. Copy the 16-character password somewhere safe.
Open Google AI Studio and create a Gemini API key. Keep it private, since anyone with the key can use your quota.
In n8n, open the credentials screen and add the three connections the workflow asks for: Gmail, Gemini and the remaining one. Test each before you continue.
Import the creator's workflow files into n8n. You should see separate Collect and Sort workflows on your canvas.
Load the demo inbox of around 300 sample emails and run the workflow once. Check the digest looks right before you point it at your real Gmail.
Create the queue the workflow uses to hold incoming mail. Collect writes new messages into it and Sort reads them back out.
Switch on Collect so it starts pulling new mail from your Gmail into the queue. Leave it running in the background.
Run Sort and wait for the digest email to arrive in your own inbox. It lists what needs you first, then receipts, alerts, newsletters and promos, each counted.
Tips and common mistakes
The free Gemini tier lets Google use your inputs to improve its products and human reviewers may read them, so use a paid key for real business mail.
The agent never replies to anyone. The only email it sends is the digest, addressed to you.
Self-hosting on your own computer is free but only runs while the machine is on, so use a small VPS or n8n Cloud if you want it working all day.
On the demo inbox it matched 289 of 297 emails, and the misses were bank payment alerts filed as receipts, so skim that category.
Questions
Do I need to know how to code?
No. You import ready-made workflows, paste in credentials and change a couple of settings inside the n8n editor.
Will it send replies to my contacts?
No. The workflow only reads your mail and sends a single digest to your own address, so nobody else hears from it.
What does it cost to run?
Self-hosting on your own computer is free. A small VPS starts at about $6 a month, n8n Cloud at about 20 euros a month, and a paid Gemini key for around 300 short emails a day costs roughly $0.38 to $1.83 a month.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


