Claude · Agents

Your AI agent that answers your emails while you sleep

45 minutes a day reclaimed. Three tools (two of them free) to automate your email replies end to end.

QQuentin Megevand
May 24, 2026 · 3 min read

The problem: 30 to 45 minutes a day answering repetitive emails

Confirmations, basic info requests, client follow-ups, read receipts. You already know the answer, you type it on autopilot, and you burn a full hour every day on work that adds zero value.

This is exactly the kind of task an AI agent handles better than you. Not tomorrow. Today. With three tools you can wire up in 5 minutes.

Claude AI Lab

The Claude AI Lab is my Skool community where I share my Claude systems and the more advanced modules. Entry is free.

Join the Lab →
5 min
to set up
€0.001
per email handled
24/7
runs on its own
The agent in 3 steps

1. Reception — An email lands in your Gmail, N8N detects it within 60 seconds thanks to the Gmail trigger. 2. AI reading & drafting — The AI reads the message and writes a reply matched to the sender's tone, language and level of formality. 3. Automatic send — The reply goes out from your address, in the right thread. Switch it off any time with one click.

What you need: three tools, two of them completely free

🔧
N8N — Free
The no-code automation tool. Create an account at n8n.io.
🤖
OpenAI — €0.001/email
API key at platform.openai.com/api-keys. Minimum top-up €5.
📧
Gmail — Personal account
Connected to N8N via OAuth. The tool walks you through it step by step.
1

Create the workflow in N8N

🔗 n8n.io
⚙️From blank canvas to your first node
1
Log in to N8N, click + Add workflow. You start from a blank canvas.
2

Add the Gmail trigger

⚙️Configure the trigger

Click +, search for Gmail Trigger and set the three key parameters.

1
Credential: Create New → your Gmail account.
2
Poll Times: Every Minute.
3
Filters › Read: Unread.
3

Add the OpenAI block

⚙️Wire up the model

Click + to the right of the trigger, search for OpenAI and select the Message a Model action. Model: gpt-4o-mini.

📝System message

You are a professional assistant. You write short, polite and relevant replies to incoming emails. You keep the same level of formality as the sender. You reply in English unless the email is in another language.

4

User message for the OpenAI block

📝Paste this prompt

Still in the OpenAI block, paste this User message. The {{ }} pull in the data from the incoming email:

Here is the email received:
From: {{ $json.from }}
Subject: {{ $json.subject }}
Content: {{ $json.snippet }}

Write a professional reply. Return only the text of the reply.
5

Add the Gmail send + activate

⚙️Configure the send

Search for Gmail and pick the Send Message action. Keep the same Gmail account, then fill in:

1
To: {{ $('Gmail Trigger').item.json.from }}
2
Subject: Re: {{ $('Gmail Trigger').item.json.subject }}
3
Message: {{ $json.message.content }}
4
Thread ID: {{ $('Gmail Trigger').item.json.threadId }}
Test, then activate

Send yourself a test email, click Test workflow, check the generated reply. If it looks good, flip the Active toggle in the top right. The agent runs on its own.

Going further: 5 tweaks to try once it's running

You adjust the System message to:

Add your signature at the bottom of every reply.
Ignore newsletters and spam.
Enforce a specific tone (formal, warm, technical).
Limit replies to certain types of email.
Automatically match the language to the sender.
Running cost

Around €0.001 per email handled with gpt-4o-mini. For 100 emails a day, that's less than €3 a month. Switch it off any time with one click in N8N.

Want to go further?

And day-to-day, I post one reel a day on Instagram: @quentin_iamarketing