Over the past few weeks, I've been focusing on becoming an AI Automation Engineer. Instead of building another CRUD application, I wanted to create something closer to what businesses actually use.
So I built an AI Email Assistant using n8n, Gemini, Gmail, Google Sheets, and Telegram.
The objective wasn't to launch a SaaS. It was to learn how to design reliable AI workflows that could eventually be used in production.
Many professionals spend a significant amount of time reading emails, identifying which ones require attention, writing repetitive replies, and organizing follow-up actions.
I wanted to automate the repetitive parts while keeping the human in control.
The workflow:
Monitors a Gmail inbox
Cleans and normalizes incoming emails
Uses a single Gemini call to:
Validates the AI output as strict JSON
Stores the results in Google Sheets
Sends a Telegram notification
Requires human approval before any reply can be sent
No email is ever sent automatically.
While building it, I tried to make decisions that improve reliability instead of simply making the workflow "work."
Some choices include:
These patterns make the workflow easier to maintain and extend.
This project taught me that building AI automations is much more than calling an LLM.
The most challenging parts were:
There are several improvements I would like to add:
The entire project is available on GitHub:
GitHub: https://github.com/HakimDev-tech/ai-email-assistant-n8n
I'm currently building a portfolio of AI automation projects, so I'd appreciate any feedback on the workflow architecture, engineering decisions, or documentation.
Constructive criticism is always welcome.