BOSSTORQUE

Gmail OAuth Helper

One-shot tool to generate the refresh token for bt-email-monitor. Used once during setup; safe to redeploy or delete afterward.

Before you submit:
  1. In Google Cloud Console, the OAuth client's Authorized redirect URI must be exactly:
    https://bt-email-monitor-auth.jason-8ce.workers.dev/callback
  2. The Gmail API must be enabled on the project.
  3. The consent screen must list jason@bosstorque.ai as a test user (or the app is in production).