Label Incoming Gmail Emails by Topic With Claude

4 min setup
No coding required
Runs automatically

A shared store inbox mixes order questions, returns, wholesale inquiries and spam, and someone has to read every email just to sort it. This workflow has Claude read each new Gmail email, pick the label that fits from your own list, and apply it, so your team opens the inbox to emails already sorted by topic.

gmail logo icon
When a new email arrives in Gmail
claude icon
Claude picks the topic that fits the email
gmail logo icon
Find the matching label in Gmail
gmail logo icon
Gmail labels the email with that topic

How it works

4 steps to open your inbox to emails already sorted by topic

gmail logo icon

When a new email arrives in Gmail

App connector: Gmail • Time to complete: 1 minute

Run for every new email in the connected Gmail inbox.

claude icon

Claude picks the topic that fits the email

App connector: Claude • Time to complete: 1 minute

Give Claude the sender, subject and body with your list of labels and a one-line description of each (for example Order Question, Return or Exchange, Wholesale, Supplier, Spam). Ask it to reply with exactly one label name from the list.

gmail logo icon

Find the matching label in Gmail

App connector: Gmail • Time to complete: 1 minute

List the Gmail account's labels and take the ID of the one whose name matches Claude's answer.

gmail logo icon

Gmail labels the email with that topic

App connector: Gmail • Time to complete: 1 minute

Add the matching label to the new email.

Trusted by 1,000+ merchants
Logo: Rothy's Logo: Adidas Logo: Allure Logo: GQ Logo: DraftKings Logo: Chubbies Logo: Made In Cookware Logo: MUD/WTR

Ready to open your inbox to emails already sorted by topic

Get setup in 4 minutes.

Use this template →

FAQs

Does Claude reply to or delete any emails?

No. It only reads each email and adds one label. Nothing is sent, archived or deleted unless you add those steps.

What if Claude isn't sure which label fits?

Include a catch-all label such as Needs Review in your list and tell Claude to use it when no other label clearly fits, so unclear emails still get seen.

Can I change the topics later?

Yes. Create the new label in Gmail and add it, with a one-line description, to the list in the Claude step. The workflow uses whatever list the prompt gives it.

Personalize this template

Customize this workflow even further:

Forward urgent emails
Add a filter after Claude's answer and a Gmail Forward Email step that sends Wholesale or Complaint emails to the right person.
Archive spam automatically
When Claude answers Spam, add a Gmail Archive Email step so it never sits in the inbox.

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

open your inbox to emails already sorted by topic

4 min setup • Fully supported if you need help