feat(gmail): add summary command for AI email digests#26
Merged
Conversation
- Add proposal, design doc, specs, and tasks for `devpilot gmail summary` - Single CLI command to fetch, summarize via claude -p, deliver to Slack, and mark-read - Includes specs for gmail-summary and gmail-commands capabilities - Tasks cover core implementation, tests, and email-assistant skill cleanup
- Fetch today's unread emails, summarize via Claude CLI - Support --channel and --dm flags for Slack delivery - Support --no-mark-read for preview mode - Batch mark processed emails as read
- Remove .openspec.yaml, design.md, proposal.md - Remove gmail-commands and gmail-summary spec files - Change has been implemented and is no longer needed
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #26 +/- ##
==========================================
- Coverage 42.93% 42.88% -0.06%
==========================================
Files 44 45 +1
Lines 3412 3549 +137
==========================================
+ Hits 1465 1522 +57
- Misses 1806 1886 +80
Partials 141 141 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
devpilot gmail summaryCLI command that fetches unread emails via Gmail API, summarizes them with Claude, and optionally posts to Slack (--channelor--dm)email-assistantskill, replaced by the new native CLI commandTest Plan
make test— all new tests ininternal/gmail/summary_test.gopassdevpilot gmail summary --helpshows correct flags--no-mark-readfor preview mode--channeland--dmflags🤖 Generated with Claude Code