Self-Learning Mode · 30-min Lesson

How to Build a Self-Learning Gmail Assistant with Claude

You can build a Claude AI Skill that triages your Gmail inbox — sorting important emails, summarizing newsletters, flagging spam — and improves automatically through a feedback loop. No coding required. This hands-on lesson walks you through the entire process in 30 minutes.

Watch the recording, follow the exercises, and walk away with a working skill that gets smarter every time you correct it.

30 min
Beginner-friendly · No code required
Last updated: March 17, 2026

What Will You Learn in This Lesson?

This lesson teaches you three things: why email is the ideal first AI skill to build, how to design a self-learning feedback loop that improves with every correction, and how to walk away with a working email triage skill you can use immediately.

Why Gmail triage is the perfect first agent skill

Email is high-volume, pattern-rich, and improves with feedback — making it the ideal skill to build and learn from.

How to design a self-learning feedback loop

Build a skill that captures your corrections and gets smarter over time — stored in a preferences file that evolves with you.

Walk away with a working email triage skill

Leave with a ready-to-use Claude Skill that sorts, prioritizes, summarizes newsletters, and drafts replies to your inbox.

Lesson Chapters
  • 0:00The email overload problem & virtual assistant analogy
  • 2:45Who is Prasad & what is Agentman
  • 5:26What a skill looks like — anatomy of a SKILL.md
  • 7:56Hands-on: Creating the email triage skill
  • 13:00Other ways to create skills (past work, cloning)
  • 16:00Running the skill: Live email triage demo
  • 20:00The three-layer skill architecture
  • 22:15Multi-skill stacking in marketing & beyond
  • 24:18The future: Skills marketplace & selling expertise
  • 26:05Q&A: Evaluator skills, pricing, versioning

Why Is Email the Best First AI Skill to Build?

Email is the ideal first AI skill because it combines three properties: high volume (the average professional receives 121 emails per day — Radicati Group, 2024), strong pattern recognition potential, and natural feedback loops that improve accuracy over time.

Every professional drowns in email. Hundreds of messages a day — from critical requests to newsletters to outright spam. You've built mental patterns over years: what to answer first, what to skim, what to archive. But those patterns live in your head, and they cost you time every single day.

This lesson reframes that problem: what if you could hire a virtual assistant for your inbox — one that starts with good defaults and learns your specific preferences over time?

The Virtual Assistant Analogy

Think of it like hiring a human assistant for the first time. They already know what an important email generally looks like — something addressed directly to you, from a known contact. What they don't know are your preferences: which clients matter most, which newsletters you actually read, how your priorities shift. You teach them through feedback. Early on, you correct them daily. After a few weeks, they've got it. That's exactly how this skill works.


What Is an AI Skill — And Why Not Just Use a Prompt?

An AI skill is a structured Markdown document that captures your procedures, decision logic, and edge cases. Unlike a prompt — which disappears after one conversation — a skill is persistent, reusable, and portable across Claude, ChatGPT, Cursor, and any MCP-compatible tool.

The key difference is compounding improvement. McKinsey's 2024 research on AI productivity found that workers using structured, reusable AI workflows saw 37% greater output gains compared to ad-hoc prompting. Skills achieve this by storing corrections in auxiliary files that accumulate over time.

In the lesson, Prasad opens a live email triage skill and walks through its anatomy: a title, a description, detailed classification instructions, and — crucially — a preferences.md file that stores feedback. After 7–8 weeks of use, that file had reached 23 revisions. It's the skill's memory.

Key Insight: Prompts Drift. Skills Compound.

A prompt is a one-time instruction. A skill is a living document that accumulates your expertise and preferences. Every correction you give makes it better. That's the self-learning feedback loop — and it's the core idea behind everything in this lesson.


How Do You Build a Self-Learning Email Triage Skill?

Building a self-learning email triage skill takes 10 minutes and requires no coding. You describe what you want in plain English, Claude generates and publishes the skill through the Agentman MCP server, and the feedback loop starts with your first triage session.

  1. 1Set up prerequisites. Create an Agentman account, connect the Skills MCP server, and connect Gmail. Takes ~5 minutes. (See pre-class setup below.)
  2. 2Prompt Claude to create the skill. You tell it what you want: identify important emails, summarize newsletters, spot spam, and after every run, ask you for detailed feedback.
  3. 3Claude builds and publishes the skill. It downloads the skill creation guide, validates the structure, creates the skill, and publishes it — all through the MCP server.
  4. 4Run the skill on your inbox. Say "Triage my work email" and watch it load your skill, read your preferences, fetch your inbox, and classify every message.
  5. 5Give feedback to improve the skill. After each run, tell it what it got wrong — miscategorized emails, new VIP senders, changed priorities. The skill stores your corrections and improves.
Try This Prompt in Claude
Using the Agentman Skills MCP server skills creator, create me an email triage skill that will:

1. Identify important emails
2. Find newsletters, summarize key insights, and archive them
3. Identify spam and unsubscribe
4. After every run, ask me for detailed feedback — which drafts needed changes, which emails were miscategorized, and any preferences I want updated

Name it: my-email-triage

What Is the Three-Layer Skill Architecture?

The three-layer skill architecture separates AI skills into foundational (portable knowledge), personal/firm (your organization's context), and situational (what's happening now). This framework applies to any business domain — not just email — and determines how skills compose together.

Agentman Skills Platform
Situational Context
Active Deals · Current Projects · This Week's Priorities
← Changes frequently
Personal Preferences
VIP Senders · Response Style · Archive Rules · Priorities
← Changes periodically
Email Intelligence Layer
Spam Detection · Newsletter Patterns · Triage Heuristics · Response Etiquette
← Stable foundation

Email Intelligence Layer: Transferable knowledge you'd take to any job — spam detection, newsletter patterns, triage heuristics, response etiquette. These skills are portable and rarely change.

Personal Preferences: Your specific VIP senders, response style, archive rules, and priorities. When you join a company, you layer these preferences on top of the foundation. They change periodically.

Situational Context: The things that change frequently — active deals, current projects, this week's priorities. You update these often.

In the email triage example, the email intelligence layer knows how to classify email. Personal preferences capture your VIP senders and response style. Situational context tracks active deals and projects that shift week to week.

Why This Matters Beyond Email

In marketing: foundational = content crafting; firm = brand voice and guidelines; situational = this campaign's messaging. In private equity: foundational = deal analysis frameworks; firm = your thesis and risk parameters; situational = active portfolio companies. The architecture translates everywhere.


How Do You Stack Multiple Skills Together?

Skill stacking means loading multiple complementary skills into a single AI conversation so they work in concert. Agentman users who stack 3+ skills report completing complex workflows in a single session that previously required switching between multiple tools.

Prasad demonstrates how a single blog post on myAgentSkills.ai used four skills working together: a brand voice skill (how they write), an image creation prompt skill (visual style), a blog generator skill (content structure), and an answer-engine optimization skill (so the content ranks in AI-powered search). All four were loaded and applied within a single Claude conversation.

The same approach works for presentations (built using a PPTX style skill), for sales outreach (qualification skill + brand voice skill), or for any workflow where consistency matters across a team.


Why Use Agentman's Gmail Connector Instead of Claude's Built-In Gmail?

Claude's native Gmail integration is read-only. Agentman's Gmail MCP server adds the write capabilities essential for a real triage workflow: archiving emails, unsubscribing from newsletters, creating Google Tasks, and managing multiple accounts.

FeatureClaude Native GmailAgentman Gmail MCP
Read emailsYesYes
Archive emailsNoYes
UnsubscribeNoYes
Create Google TasksNoYes
Multiple accountsNoYes

What Are the Key Takeaways?

Five principles from this lesson apply to every AI skill you build — not just email triage.

Skills encode judgment, not just knowledge. The rules, exceptions, and preferences that make your work yours. That's what separates a skill from a generic prompt.

The feedback loop is the superpower. A preferences.md file that accumulates your corrections turns a generic classifier into a personal assistant that improves with every session.

Think in three layers. The email intelligence layer is portable and stable. Personal preferences customize for your context. Situational context adapts to what's happening now.

Skills are portable across AI platforms. What you build works in Claude, ChatGPT, Cursor, and any MCP-compatible tool. Your intelligence layer isn't locked to one vendor.

Everything here applies beyond email. The skill creation process, the feedback loop, the layered architecture — if you can build an email triage skill, you can build a skill for any part of your knowledge work.


Frequently Asked Questions

What is an AI skill and how is it different from a prompt?

An AI skill is a structured Markdown document that captures your procedures, decision logic, and preferences. Unlike a prompt, which disappears after one conversation, a skill is persistent, reusable, and portable across AI platforms like Claude, ChatGPT, and Cursor. Skills also include auxiliary files like preferences.md that accumulate your corrections over time.

Do I need coding experience to build a self-learning email triage skill?

No coding is required. You create the skill by describing what you want in plain English to Claude. Claude uses the Agentman Skills MCP server to generate, validate, and publish the skill automatically. The entire process takes about 10 minutes.

How does the self-learning feedback loop work?

After each email triage run, Claude asks for your feedback: which emails were miscategorized, which senders should be VIPs, and what priorities changed. These corrections are stored in a preferences.md file attached to your skill. Each time the skill runs, it reads this file and applies your accumulated preferences, improving accuracy over time.

Does this email triage skill work with ChatGPT and other AI tools?

Yes. Skills built on the Agentman platform are portable across any MCP-compatible AI tool, including Claude, ChatGPT, Cursor, and Windsurf. Your skill and its learned preferences transfer between platforms without modification.

Why use Agentman's Gmail connector instead of Claude's built-in Gmail?

Claude's native Gmail connector is read-only. Agentman's Gmail MCP server adds write capabilities essential for real triage: archiving emails, unsubscribing from newsletters, creating Google Tasks from action items, and managing multiple email accounts (work and personal) separately.

Pre-Class Setup

Complete these two steps before starting the lesson (~5 minutes).

1

Connect Claude to Agentman Skills

Store your skills centrally — use them across Claude, ChatGPT, and more.

Register for a free account
Add the Agentman Skills MCP to Claude
  1. Claude → Settings → Connectors → Custom MCP Connector
  2. Server URL: https://skills.agentman.ai/mcp
  3. Authorize it to access your Agentman account
  4. Click Connect to login

Verify: In Claude, type list my skills or show the skills explorer — if it responds with your Agentman account, you're connected!

2

Connect Claude to your Gmail

Agentman Gmail MCP — feature-rich with unsubscribe, labels, tasks, and more.

Add the Agentman Gmail MCP to Claude
  1. Claude → Settings → Connectors → Custom MCP Connector
  2. Server URL: https://mcp.agentman.ai/gmail/mcp
  3. Click Connect to login
Google verification in progress

When connecting, Google may show a security warning. Click Advanced "Go to Agentman (unsafe)" → Grant permissions. We're completing Google's verification process — it's completely safe. The video below walks you through this.

Setup Walkthrough Video

Ready to Build Your Own?

Connect the Skills MCP server, create your email triage skill, and experience the feedback loop for yourself.

AI SkillsGmail TriageSelf-LearningFeedback LoopMCPClaudeNo CodeEmail Automation

Ready to try AI skills?

Browse production-ready skills for your industry and connect them in minutes.