Show HN: I built AI agents with CrewAI to automate my entire Gmail workflow (github.com)
This is what I had it do:
- Categorizing emails and assigning priority levels
- Applying labels and stars based on content analysis
- Creating draft responses for important emails only + saving it in Drafts folder
- Sending Slack notifications for high-priority messages (I use Slack a lot)
- Cleaning up low-priority emails based on configurable rules (delete low quality emails + empty trash afterwards)
It works with most of the models so long as they're good at tool calling (most OSS Ollama models struggle) and connects via IMAP for easy setup.
The project is well-documented with clear installation instructions in my repo above.
I also have a YouTube tutorial walking through the project here:
https://www.youtube.com/watch?v=zz0SA8xMBCo
I built this to solve my own email overload problem and thought others might find it useful too.
Would appreciate any feedback or suggestions for improvement.
NOTE: I work at CrewAI. This is a side project I built to help solve my old email with a lot of unread emails that was running out of storage. I though to share here in case someone find it useful.
27 comments
[ 4.7 ms ] story [ 72.8 ms ] threadi can definitely add an archive tool and pass that to the agent and remove the delete tool.
Do you just wait for people to follow up with you on other channels when they don't get any acknowledgement from an email?
I'm pretty upfront that I only check my email once per week and that they should find me on chat.
Of course I make exceptions sometimes for certain things, but those exceptions don't turn into a lasting disciplined email routine
People some times get away with it in some corner of an old corporate job where their job is stable enough that nothing matters. Their coworkers and manager usually hate it.
> Do you just wait for people to follow up with you on other channels when they don't get any acknowledgement from an email?
This is it. They shift the burden of communication to their manager and coworkers.
It's a tip that only sounds good if you imagine yourself as the one doing it.
Then one day you have to deal with a person who does this and you realize how painful it makes your job.
I like to think that I use the time saved not reading email to help those teammates and managers get actual shit done.
Or has it been renamed again?
They run locally on my computer with my full credentials and has access to everything. Once I'm past my trust issues, I'd use these a lot.
PS: Running them locally gives me the false sense of security because I feel like "I can unplug the AI". Maybe someone can explain the psychology behind this :)