Skip to content

feat: harden Gmail integration - #181

Closed
QueryPlanner wants to merge 1 commit into
mainfrom
codex/gmail-integration-review-fixes
Closed

feat: harden Gmail integration#181
QueryPlanner wants to merge 1 commit into
mainfrom
codex/gmail-integration-review-fixes

Conversation

@QueryPlanner

Copy link
Copy Markdown
Owner

What

Add the private, user-scoped Gmail REST connector and Telegram/ADK integration, with review-driven privacy and failure handling.

Why

Replace the shared Gmail MCP path with a dedicated OAuth boundary that keeps Gmail credentials and message content isolated per private Telegram user.

How

  • Add dedicated Gmail OAuth, encrypted storage, REST client, skill, and toolset
  • Expose Gmail only to the private Telegram root-agent flow
  • Require explicit send confirmation and recheck draft content before sending
  • Reject spam/trash reads and label changes, bound attachment and result handling
  • Keep failed remote revocations disabled locally and retryable
  • Add Telegram commands, callback handling, documentation, and regression tests

Tests

  • uv run ruff format
  • uv run ruff check
  • uv run mypy .
  • uv run pytest --cov=src (2016 passed, 1 skipped, 100.00% coverage)

Related Issues

Closes #85

- Add private user-scoped Gmail REST tools and OAuth flow
- Enforce mailbox, confirmation, sandbox, and revoke safeguards
- Add Telegram wiring, docs, and complete regression coverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Gmail API proxy tool and skill

1 participant