OAuth Guide
← All guides

Google (Gmail, Calendar, Drive)

Hard

A working dev OAuth client takes under an hour, but most Gmail-agent use cases (read, modify, draft) need restricted scopes, which require verification plus an annual third-party CASA security assessment.

Agent-researched, not yet reviewed by a personResearched 2026-10-20

Working in dev

30–90 min

Signing in with your own account

Any user can connect

6–10 weeks

Restricted Gmail scopes (read, modify, drafts), which most email agents need. Google estimates 6 weeks for restricted verification (not guaranteed); the CASA security assessment runs alongside and can add a few weeks. Reviews occasionally stall longer.

Waiting on
Google Trust & Safety review (brand, then data access), plus a CASA-authorized security lab's Letter of Validation for restricted scopes
Cost
Google charges no fees. Restricted scopes need an annual CASA assessment paid directly to an authorized lab, roughly US$500-$6,000+/yr per app depending on lab and tier (third-party pricing, unverified). You also need a domain and a hosted homepage and privacy policy.

What you need first

Who does what

Google (Gmail, Calendar, Drive) OAuth setup · OAuth Guide