I'm not a coder. I typed one plain-English sentence into Claude Code and it read my inbox, walked the emails one at a time, and suggested a reply for each one. Then I asked it to turn that into a reusable tool I can run any time. No Gmail setup, no API key, no code.
Heads up before you start: Claude Code needs a paid Claude plan (Pro at about $20/month minimum, or pay-as-you-go API). The free Claude.ai plan does not include it. I say that on camera too, because a "anyone can do this" video should be honest about the cost.
The prompt I used: "Read the emails in this folder, show them to me one at a time, give me a short summary and a suggested reply for each, and let me approve, edit, or skip before moving on."
This video is sponsored by Context.dev. Try it: https://link.context.dev/jyt Use code JAMES30 for 30% off your first 12 months.
Context.dev is one API that scrapes, crawls, and enriches web data for AI agents, and hands back clean structured markdown. No hidden credit multipliers for stealth mode. Y Combinator backed.
Paid partnership with Context.dev.
CHAPTERS 0:00 The email bot I built, and why 0:36 What you need: Claude Code and a paid plan 1:30 Installing Claude Code from the terminal 2:38 Logging in and authorizing 2:55 The demo inbox (fake emails, not my real one) 3:15 The one prompt that builds the agent 3:27 Walking the emails one at a time 4:33 Approving replies, and auto mode 5:46 Context.dev: web data for AI agents 7:25 Turning it into a reusable skill 9:01 Hooking it up to real Gmail (want a part two?) 9:31 The 20 agents I run every day
So probably the thing that most people ask me about are most interested in are
my bots. Um, of course I get a lot of emails and I was overwhelmed by emails.
So I built an AI agent.
I built a bot that reads my emails, goes through them one by one.
It writes a suggested reply for each one, keeps track,
has a memory for like, Hey, what did these different emails say?
And I didn't write a single line of code to make this happen.
I just typed what I wanted. This is something you can do too.
So I want to show you from start to finish, getting this set up,
the way that I did it. Even if you're not a tech person,
you can do this and I want to help you. If you need help in the comments,
please let me know.
So in the tool that I'm using personally is quad code.
You do need a paid plan, but you can get $20 a month to set this up.
I actually pay for the max plan because I do everything on AI,
which I have other videos about my full AI agent setup.
And then for demonstration purposes in this bot,
I'm not going to show you my live emails.
I had set up a fake email box with fake emails in it. And we'll read that.
I am going to be using quad code in a terminal because I'm a programmer and I'm
just real comfortable in the terminal. I like, you know, command line,
things like this. If you're not as comfortable in the terminal,
you can download the desktop app.
So there's a lot of different ways that you can access quad code.
I just like the terminal. So if you open up a terminal on Mac,
it's very easy, but you can also do it in windows.
I'll leave a link to here's the quad code docs for getting this set up,
but here's the command right here.
I can copy and paste into the terminal to get quad installed and get it set up.
So, and really that's pretty much all we're going to be doing from the actual
command line. So you, again, even if you're not a tech person,
you absolutely can use quad code in the terminal and you'll have no problem.
But again, if the terminal scares you,
if this black and white screen here messes with your mind,
then just download the desktop app. It's basically the same thing. All right.
So after you run that command, it'll say quad code successfully installed.
Then you can just do quad dash dash version to make sure it's installed
correctly. 2.1.2 and zero. That's the most recent version.
And then you are good to go.
So you just type in quad and it'll open quad code here.
So we are now in quad code. I am going to switch the model.
You don't really just go on the recommended model. Opus 4.8.
Fable uses a lot of tokens, so I don't want to use that.
Then you will need to do a dash log in.
So you want to quad account with subscription.
So if you did go ahead and sign up for one of their subscriptions here,
then after you log in, you just have to authorize it.
So then when you go back to terminal,
it'll say log in successful and now you are good to go in quad code.
So here are just some sample emails that I put together. Again,
you can hook this straight up to your Gmail. That's what I do.
But I just put together these six sample emails. This is,
this is kind of what my inbox tends to look like,
but a sponsor asking for my rate, somebody asking for a refund on something,
a newsletter, someone asking to do a collab,
late invoice that I need to pay and rescheduling some meeting.
And then people think that creating AI agents is very difficult,
but really you just tell quad exactly what you want to do.
It'll take care of the hard part. So read the emails in the, and then I,
this is the where the folder is, but read the emails in that folder,
show them to me one at a time. I like to go through things one at a time.
Claude might send you a big wall of text of all the emails I prefer. Hey,
like let's just do one thing at a time. I'm very simple minded.
Give me a short summary and a suggested reply for each and let me approve,
edit or skip before moving on.
So I basically just in plain English told it exactly what I wanted it to do.
Go to look at that folder, go through the emails one by one, summarize them,
suggest a reply, and then move on. So when it asks for in normal mode,
Claude asks for, it says, we're going to do this.
Do you want us to proceed? And it's very careful.
You can actually go to auto mode,
which will go ahead and just automatically say yes to those things.
So it's found email one here.
It gave me a summary and then it gave a suggested reply.
So again, if I was hooked up to my actual Gmail,
this could just send out an email and also archive it.
I have it hooked into Todoist to change to dues if I need to,
based on the email and email to refund request gives a summary.
Here's a suggested reply approve. So you can see how, when I set this up,
this was a game changer for me.
If I wake up every morning with 140 emails that I have to go through one by
one, it's a lot easier. I can have an agent here. And eventually, you know,
I start putting rules in place where, Hey, if you get an email like this,
if you get junk unsubscribe from it, you know, things like that.
If you get a collab request, always reply this way.
And eventually I can work through my emails very quickly. So a newsletter,
this one, it says you don't need to reply because it's a newsletter.
This is a lot different than computer programming because back in the day you
could program, I could program something like this,
but I'd have to put it rules in place.
It can't look at the content and give some kind of context and give an answer
based on what it finds in the emails for this one. Let's say,
let's edit the reply down, more friendly and tell a joke.
I'm a jokey kind of guy. And it made it a little humorous.
So AI humor is not always the best, but you know, it is what it is. But yeah,
prove that version. So before we finish up getting through those emails,
this part of the video is sponsored by context.dev.
So this email bot,
this agent that I have here is just one of the agents that I have running in my
ecosystem. A lot of my other agents live on web data.
So they're pulling research, checking sources, grabbing info off live sites.
And if you've ever tried to scrape the web for an AI agent or use an AI agent to
access the web, it can be very difficult. Sites block you.
The HTML comes back as garbage and half your time goes to just fighting bot
detection instead of actually building something.
So that's exactly what context.dev helps with.
It's one API that scrapes crawls and enriches web data for your agents
particularly.
So it hands back structured markdown that your model can actually read and make
decisions based on. So the headless browser stuff,
the bot detection all handled for you already.
And the part I really like is there's no hidden credit multipliers.
A lot of these tools quietly bump the price the second that you need, you know,
an extra feature, a stealth mode or something. I mean, they might bump it,
you know, five to 75 times the base rate,
but context.dev doesn't play that game. So very simple pricing, honestly,
free plan, probably enough just to test it out.
And for a lot of what you want to do,
but it's backed by Y Combinator and hundreds of companies already run on it.
I'm starting to work it into my ecosystem as part of my workflow.
So if you're messing around with AI agents,
which if you're watching this video and following along at you are check out
context.dev link is in the description. I have a promo code.
James 30 gets you 30% off for the first year. So pretty good deal there.
So last email here, let's go ahead and approve that.
And then you can keep going while it's working,
but let's make it into a tool that we can use regularly.
So what we're going to do is we're going to turn it into a script that we can
just run anytime. Actually, you know what, instead of a script,
let's AI even one further, let's make it a skill.
So turn that,
turn that into a skill called email walk.
We'll call it that I can run any time to walk through this folder the same way
so basically a skill is a script for AI.
So it's something that you can just have it run very easily without having to
type exactly what you want to do. So it's using the skill,
skill creator to create this skill.
And it basically just looked at what we already did and it's capturing the exact
workflow and going to turn it into a skill.
And I'll show you how you can run this once it's set up. Right?
So now it says the skill is created. So anytime I want to do it,
I can just do slash email walk and it'll run what I just did.
It'll run that workflow. So same thing.
And it's looking at that folder that we already did.
The next step, if you wanted to actually use this live,
which I'm not going to do in this video, if you want me to do a part two,
let me know,
but you'd want to hook this up to your actual Gmail rather than a folder on your
computer. But it's the same process.
You just tell it clod exactly what you want to do.
I want to now read from my actual Gmail instead of a
folder. Can you help me set that up?
So this takes a little bit more setup. You have to set up the Gmail MCP server.
It's really not that difficult, but I'll do a part two, if you want to do that,
or you can just walk through clod code can help you. I guarantee you again,
even if you're not a tech person, you can figure it out,
but I'm happy to do a tutorial part two,
if you'd like to set it up and actually see connecting to your actual Gmail.
The next thing you know, you have an actual AI agent here, which, you know,
people hear that word and they think, Oh, what is that? What is an AI agent?
It's this, it's what I just built. It's an AI that goes and does something.
And I have 20 of these AI agents that are running all the time.
One's checking my email. One's doing research.
One's working on this business.
One's working on this revenue stream and they're just all at work.
But if you've never touched code and all this AI stuff and AI agents kind of
scares you, this is a pretty easy place to start a paid plan,
one install command, and then you talk to it like a person.
Try it on a folder of your own.
Let me know in the comments what you're able to do on.
If you'd like to hop into the AI income builders club.
So this is a free school group that me and my friend Nolan have started to help
people learn AI. So he kind of helps on the marketing side.
I'm helping on the AI and the tech side. So go hop in there. It's free.
Like and subscribe as always. That's also free. Helps out the channel.
Thank you guys so much for watching.
God bless you all and have a great rest of your day.