Gmail Filters · Updated October 12, 2026
Gmail Filters privacy policy
Purpose and permissions
Gmail Filters is a personal tool operated by Brian Sunter. This policy covers the Gmail Filters Cloudflare service, not every OAuth client in Brian's Google Cloud project. Access is restricted to the owner and the two Google accounts configured in the service.
The service requests openid and email to verify Google identity, and gmail.settings.basic to work with filters. Google has no narrower filter-only scope. The implementation calls the Gmail filters resource and Google authentication endpoints. It does not read message bodies, send mail, configure forwarding, or modify existing messages.
Data accessed and used
The service processes account email and Google identity, OAuth tokens, filter criteria and actions, filter IDs, and existing user-label IDs referenced by filters. It uses these to show existing rules, validate requested changes, avoid duplicate rules, and verify Google's response to an authorized operation.
Filter information can include sender addresses and other private matching criteria. Tool results are returned to the ChatGPT or Codex conversation from which the owner invoked the tool. Creating or replacing rules requires the owner's request; connecting an account alone does not change Gmail filters or messages.
Storage and security
The service runs on Cloudflare Workers with Cloudflare D1 storage and owner-only Cloudflare Access authentication. Google tokens, temporary OAuth verifier state, operation drafts, old-rule snapshots and saved operation results are encrypted using AES-GCM with a separate runtime key. The OAuth client secret and encryption key are held in runtime secret bindings. Account identity, operation status and timestamps are stored for ownership checks and reconciliation.
Offline access permits automatic renewal of Google's short-lived access tokens using the stored refresh token. That permission remains subject to Google expiry, revocation and account policies. Cloudflare browser and MCP grant sessions have their own durations.
Hosting and authentication providers may process request metadata for delivery, security and operation of their services. Application authentication diagnostics contain fixed categories and validation booleans, not tokens or private filter payloads.
Sharing and limited use
Google receives requests needed to authenticate and carry out the owner's filter operations. Cloudflare provides hosting, authentication and encrypted storage. The conversation host receives tool results when the owner invokes the tools and applies its own retention and privacy controls.
The Gmail Filters service does not sell Google user data, use it for advertising, or use it to train AI models. Its use and transfer of information received from Google APIs adheres to the Google API Services User Data Policy, including the Limited Use requirements.
Retention, disconnect and deletion
OAuth attempts expire after ten minutes; expired attempts cannot be completed and are cleaned up when a new connection starts. Unexecuted operation drafts expire after ten minutes and cannot then be executed. Stored drafts and operation records remain for idempotency and reconciliation until the account is disconnected.
Disconnecting an account deletes its locally stored tokens, OAuth attempts and operation records, and attempts Google grant revocation. A minimal account email and Google subject record is retained to prevent account substitution. Disconnecting does not delete Gmail filters.
The owner can revoke access through Google Account's third-party connections. If the service cannot confirm revocation, that Google control is the next step. Data already returned to a conversation may remain under the host's retention controls. For deletion of the remaining identity record or another privacy request, contact Brian using the address below.
This public page and contact
This policy page does not connect to Google or expose private account data. Visits to briansunter.com are covered separately by the website privacy policy, including its analytics and browser-storage practices.
Contact: public@briansunter.com. Changes to this policy will be posted here with an updated date.