feat: implement gmail api rate limiting and update roadmap #86

Merged
fuzzy merged 4 commits from feat/phase02 into main 2026-06-13 20:45:14 +00:00
Owner

Previous message:

feat: add rate limiting to gmail service wrapper

Implements token bucket rate limiter (1 QPS) for Gmail API quota
management. The Service struct now carries a RateLimiter used to
pace outbound API calls.

Closes #22
Closes #19
Closes #20
Closes #21

# Previous message: feat: add rate limiting to gmail service wrapper Implements token bucket rate limiter (1 QPS) for Gmail API quota management. The Service struct now carries a RateLimiter used to pace outbound API calls. Closes #22 Closes #19 Closes #20 Closes #21
fuzzy self-assigned this 2026-06-13 20:42:37 +00:00
# Previous message:
feat: add rate limiting to gmail service wrapper

Implements token bucket rate limiter (1 QPS) for Gmail API quota
management. The Service struct now carries a RateLimiter used to
pace outbound API calls.

Closes #22
Closes #19
Closes #20
Closes #21
# Previous message:
feat: add date-based gmail search query builder

Implements BuildQuery to generate 'after:YYYY/MM/DD' Gmail search
queries from the configured start date, with BuildQueryBefore for
complementary before queries.

Closes #26
Closes #23
Closes #24
Closes #25
# Previous message:
feat: implement message listing with pagination

Adds ListMessageIDs and ListMessageIDsWithProgress to paginate
through Gmail's users.messages.list API with rate limiting and
progress reporting.

Closes #31
Closes #27
Closes #28
Closes #29
Closes #30
fuzzy changed title from feat: implement gmail api rate limiting and update roadmap to WIP: feat: implement gmail api rate limiting and update roadmap 2026-06-13 20:43:47 +00:00
feat: refactor main.go to use new gmail fetch functionality
feat: add message fetching implementation with rate limiting and error handling
fix: update roadmap to mark completed phase 2 tasks as done
fix: add progress reporting during message fetching

# Previous message:
feat: implement message fetching with base64url decode and partial failure handling

Wires up the full Phase 2 pipeline in main.go: build query, list
message IDs with pagination, fetch full message details with
format=raw. Decodes base64url-encoded message data and continues
past individual message failures.

Closes #35
Closes #32
Closes #33
Closes #34
fuzzy changed title from WIP: feat: implement gmail api rate limiting and update roadmap to feat: implement gmail api rate limiting and update roadmap 2026-06-13 20:44:58 +00:00
fuzzy merged commit 71aa19927e into main 2026-06-13 20:45:14 +00:00
fuzzy deleted branch feat/phase02 2026-06-13 20:45:15 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/gerald!86
No description provided.