Gmail
What Is the gmail.send Scope?
Published 2026-09-20 · CSV Sender
Google’s scope table describes gmail.send as sending email on a user’s behalf. CSV Sender uses only that scope—matching lib/gmail/scopes.ts.
Quick answer
The Gmail send scope string is https://www.googleapis.com/auth/gmail.send. Google’s official scope documentation describes it as permission to send email on a user’s behalf. CSV Sender’s lib/gmail/scopes.ts exports exactly this URL in GMAIL_SEND_SCOPE and GMAIL_OAUTH_SCOPES—no additional Gmail scopes are requested at connect time.
What Google documents
Consult the live scope table (frontmatter sources) for the precise wording Google shows to users. Documentation evolves; this article intentionally does not invent sensitive/restricted classifications—verify on developers.google.com when auditing compliance.
What gmail.send enables in CSV Sender
- Calling
users.messages.sendwith prepared MIME (gmail API send email) - Refreshing OAuth tokens to obtain new access tokens (OAuth access vs refresh token)
What gmail.send does not enable here
- Listing or reading inbox messages
- Searching threads for bounce handling
- Changing labels on incoming mail
Operational bounce processes must use external signals or manual imports (email suppression list).
Consent screen experience
Users see Google’s standardized permission text for the send scope during connect. Workspace admins may control which third-party apps users can install—enterprise policy sits outside CSV Sender.
FAQ
Does CSV Sender hardcode other scopes?
No—only GMAIL_SEND_SCOPE in lib/gmail/scopes.ts.
Can I send with gmail.compose instead?
Different scope with broader capabilities—not used by CSV Sender (Gmail OAuth scopes).
Will send scope read drafts?
Not for CSV Sender’s code path—only send is invoked.
Does send scope include calendar?
No—unrelated Google APIs need separate scopes.
Auth errors despite send scope?
See Gmail authorization expired.
Related reading
Code reference for implementers
Open lib/gmail/scopes.ts in the CSV Sender repository:
export const GMAIL_SEND_SCOPE = "https://www.googleapis.com/auth/gmail.send";
export const GMAIL_OAUTH_SCOPES = [GMAIL_SEND_SCOPE] as const;
Any pull request adding scopes should update security docs and trigger consent re-flow planning.
User education on consent screen
Non-technical users may ask why Google mentions “Send email on your behalf.” Explain that CSV Sender transmits exactly the CSV content they uploaded—it does not compose new AI mail or read existing threads.
Workspace Google Workspace vs consumer
Both account types use the same scope string; enforcement and sending limits differ downstream (Gmail sending limits for CSV). IT policies may restrict consumer OAuth on corporate devices—check with admins.
Alternative scopes (not used)
Google documents broader compose/modify scopes for interactive clients. CSV Sender avoids them to keep blast radius small if tokens leak.
Penetration test expectations
Testers should verify refresh tokens are not returned in browser network tabs during normal UI usage and that disconnect flows mark senders unusable until reconnect.
Frequently asked security questionnaire answers
Q: Does the app access email content? A: It sends user-prepared text from CSV; it does not read mailbox contents with current scopes.
Q: Can users limit access? A: Yes—Google Account third-party access removal revokes refresh tokens (revoke Gmail app access).
Q: Which official document defines the scope? A: Gmail API authorization scopes page linked in this article’s sources.
Q: Are scopes hardcoded? A: Yes—in lib/gmail/scopes.ts for auditability.
Q: Does send scope include calendar or drive? A: No—those require unrelated scope strings not requested by CSV Sender.
Production checklist (1)
Before changing live campaigns, re-verify Gmail sender CONNECTED, scan import issues, confirm suppression imports, and align dailyLimit with Gmail sending limits for CSV guidance. Prepared rows in email, subject, and body columns should pass validate CSV before emailing so queue workers spend quota on intentional mail only.
Production checklist (2)
Before changing live campaigns, re-verify Gmail sender CONNECTED, scan import issues, confirm suppression imports, and align dailyLimit with Gmail sending limits for CSV guidance. Prepared rows in email, subject, and body columns should pass validate CSV before emailing so queue workers spend quota on intentional mail only.
Production checklist (3)
Before changing live campaigns, re-verify Gmail sender CONNECTED, scan import issues, confirm suppression imports, and align dailyLimit with Gmail sending limits for CSV guidance. Prepared rows in email, subject, and body columns should pass validate CSV before emailing so queue workers spend quota on intentional mail only.
Production checklist (4)
Before changing live campaigns, re-verify Gmail sender CONNECTED, scan import issues, confirm suppression imports, and align dailyLimit with Gmail sending limits for CSV guidance. Prepared rows in email, subject, and body columns should pass validate CSV before emailing so queue workers spend quota on intentional mail only.
Sources
Related articles
Gmail
Gmail OAuth Scopes Explained
Google documents Gmail API scopes in one official table—use it to reason about CSV Sender’s gmail.send-only connection without guessing sensitive labels.
Gmail
Gmail OAuth for Sending Email: Scopes, Security, and CSV Workflows
Understand Google OAuth for Gmail send-only access, why CSV Sender requests gmail.send, and how tokens stay encrypted at rest.
Gmail
Send Gmail Without Reading Your Inbox: Send-Only OAuth Explained
Learn why CSV Sender requests gmail.send only, what Google cannot access with that scope, and how prepared CSV rows are delivered safely.
Gmail
How Does the Gmail API Send an Email?
Send mail with users.messages.send by building RFC 5322 MIME, base64url-encoding raw, and posting through OAuth—exactly how CSV Sender delivers each CSV row.