CrewAIProductivity & Email26 HN points2025-03-13

Clean up an old Gmail inbox with a crew of AI agents

A developer used CrewAI agents to sort an old Gmail account: categorizing and prioritizing emails, applying labels and stars, and drafting replies to important messages.

Try it yourself

What you get

An old inbox categorized, prioritized and labeled, with draft replies for important emails.

Tools

  • CrewAI (open source)
  • Gmail

Steps

  1. Clone the open-source repo and connect your Gmail.
  2. Run the crew to categorize emails and assign priorities.
  3. Review the labels and draft replies before sending anything.

Copy-ready prompt

Go through my unread emails. Put each one in a category (personal, bills, newsletters, promotions, work, other) and give it a priority from 1 to 3. Suggest labels, and draft short replies only for priority-1 emails that need a response. Don't delete or send anything.

Prompt written by AgentPlays from the source. Fill in the [brackets] and approve before anything is sent or bought.

Proof / source

Open-source code Author's Show HN post and the GitHub repo.

Read the original source ↗ Discussion ↗

Related