feat: Gmail read and Drive comments commands#6
Merged
shahariaazam merged 1 commit intomainfrom Nov 6, 2025
Merged
Conversation
**Gmail Read Command:** - New command: gscli gmail read <message-id> - Read full email content including body - Shows: subject, from, to, date, full body - Supports plain text and HTML emails - Extracts body from multipart messages - Supports --account flag **Google Drive Comments Command:** - New command: gscli drive comments <file-id> - List comments on Google Drive files - Shows unresolved comments by default - --include-resolved flag to show all comments - Displays author, content, creation date - Shows comment replies - Shows quoted content from document - Supports --account flag **Use Cases:** - AI agents can read full email content for context - View and track document feedback/comments - Filter resolved vs unresolved comments - Multi-account support for both commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two powerful new commands for reading email content and listing Google Drive comments.
New Features
1. Gmail Read Command
Features:
Example Output:
2. Google Drive Comments Command
Features:
--include-resolvedflag to show all commentsExample Output:
Use Cases
For AI Agents
For Developers
Usage Examples
Technical Details
Gmail Read
messages.getwithformat=fullDrive Comments
comments.listTesting