System & CompliancePhase 0 & Phase 6

Settings & Quota Management

Monitor YouTube Data API v3 consumption, inspect API credentials, and review privacy compliance.

YouTube API v3 Daily Quota

Default Google Cloud limit resets every midnight PST.

0 / 10,000
units consumed
0 units10,000 units remaining10,000 units
EndpointCostCollector UsageOptimization Strategy
search.list100 unitsKeyword discovery runsLimited to batch searches; cache channels in DB
videos.list1 unitGaming chart (Category 20)High efficiency; returns top 50 trending channels
channels.list1 unit (batch 50)Channel stats, bio, socialsChunks 50 channel IDs into a single request
playlistItems.list1 unitLast 3-5 uploads descriptionUsed for email extraction in video descriptions

Environment & Credentials Configuration

YouTube Data API v3Connected & Active

Configured via YOUTUBE_API_KEY in .env. Includes realistic offline fallback simulator.

PostgreSQL & Prisma ORMConnected & Migrated

Local PostgreSQL database: battercollab schema in sync with Prisma 6.

AI Enrichment ModelAgentRouter (DeepSeek)

Configured with AI_API_KEY via AgentRouter using deepseek-v4-flash.

CLI Worker ScriptsReady

Run discovery from terminal: npx tsx scripts/collect.ts "keyword"

Gmail SMTP Mailer Engine (App Password)

Enables 100% primary inbox delivery with HTML template support and rate-limited bulk outreach.

Status
Simulation Mode (Credentials Unset)
Host & Port
smtp.gmail.com:465 (SSL)
Sender Email
None configured
Send Test Template to Any Custom EmailVerifies live delivery in your inbox

How to connect your Gmail account:

  1. Open your Google Account (Security Settings) and ensure 2-Step Verification is ON.
  2. Search for App Passwords (or visit myaccount.google.com/apppasswords).
  3. Name it "Battercollab" and copy the 16-character generated password (e.g. abcd efgh ijkl mnop).
  4. Add to your .env:
    SMTP_HOST="smtp.gmail.com"
    SMTP_PORT="465"
    SMTP_USER="your-email@gmail.com"
    SMTP_PASS="your-16-char-app-password"
    SMTP_FROM="Battercollab <your-email@gmail.com>"

Legal Compliance & DPDP Act Safeguards

Public Listing Only: Only emails voluntarily published by creators in public video/channel descriptions or bio links are collected.
No CAPTCHA Bypass: We do not scrape YouTube pages or automate Google’s ReCAPTCHA protected "View email address" button.
Mandatory Opt-Out & DNC: All outreach templates include an automatic opt-out clause. Any creator flagged as DO_NOT_CONTACT is strictly blocked from all future outreach.