I love when Claude does things for me.
I came across three CLI tools (terminal commands) for Gmail, Calendar and Google Drive. This allows Claude Code or your preferred agent to operate these services.
I asked Claude Code to build one that unifies all three. All you need is Google Credentials and enabled APIs.
Now it can summarize my emails, manage files, update the calendar - all from the terminal.
Why This Matters
A code agent has tons of uses, not just for developers. It’s a personal assistant that can do everything if you point it in the right direction.
If I want to analyze data, generate reports, write code, research any topic - all in one place.
And of course we built a skill to build more CLIs for Google services :)
What the Tool Does
Gmail:
- Read messages and display content
- Search emails by sender, subject or content
- Send new emails and replies
- Manage labels and track threads
Calendar:
- Display upcoming events
- Create new events with attendees
- Update and delete events
- Find free time slots
Drive:
- List files and folders
- Upload and download files
- Search by name or content
- Sharing and permissions
How to Use
The tool is open source on GitHub - just need to set up Google Cloud Credentials and enable the relevant APIs.