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
- Clone the open-source repo and connect your Gmail.
- Run the crew to categorize emails and assign priorities.
- 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.
Proof / source
Open-source code Author's Show HN post and the GitHub repo.
Read the original source ↗ Discussion ↗
Related
Create and maintain a Google Sheet tracking product reviews
Grok Bot created and now manages a Google spreadsheet tracking the user's product video reviews.
Agentic job-hunt pipeline
Muse/Grok Bot runs a job hunt: Notion database, monitoring inbox/calendar/X DMs/LinkedIn, meeting prep docs and transcripts.
Chief-of-staff bot that monitors its own usage
User gave a chief-of-staff Grok Bot access to the account so it can read its own usage limit.