Setup

One-time Google Cloud configuration — takes about 5 minutes.

1 Create a Google Cloud project
  1. Go to console.cloud.google.com and create a new project.
  2. Navigate to APIs & Services → Library and enable the Gmail API.
2 Configure OAuth consent screen
  1. Go to APIs & Services → OAuth consent screen.
  2. User type: External. Fill in app name and your email.
  3. Add scopes: gmail.readonly and gmail.send.
  4. Under Test users, add your Gmail address.
3 Create OAuth credentials
  1. Go to APIs & Services → Credentials → Create Credentials → OAuth client ID.
  2. Application type: Web application.
  3. Under Authorised redirect URIs, add exactly:
https://unsub.kinohome.ca/oauth/callback

⚠️ This must match exactly — including the port and no trailing slash.

4 Upload credentials.json

Download the JSON from Google Cloud Console (the ⬇ icon next to your new credential) and upload it here.