# How to Automate Gmail Sales Outreach using the API

- Tool: API Automations
- Difficulty: Intermediate
- Fix time: 30-60 minutes
- Compatibility: OAuth 2.0 required | gmail.send scope (Sensitive, governed by Restricted policy) | Google Workspace recommended for higher sending limits
- Last updated: May 2026

## TL;DR

Automate personalized sales outreach emails using Gmail API's users.messages.send with RFC 2822 MIME messages encoded as base64url. Hard daily limits: 500 messages/day for @gmail.com, 2,000/day for Google Workspace, max 100 recipients per message via API. The gmail.send scope is governed by Restricted-level policy requiring OAuth verification. Plan send volume accordingly — there is no paid upgrade to raise these limits.

## Best practices

- Personalize beyond just {{name}} — reference the company's growth, recent news, or specific pain point to stand out
- Test your encoding with a single send to yourself before running the campaign against your full lead list
- Run your reply-check script at the start of each day BEFORE sending new messages — never follow up a replied lead
- Space your sends across multiple days rather than hitting the daily limit each day — steady cadence looks more natural to spam filters
- Use campaign state persistence (JSON file or database) — never rely on in-memory state that gets lost on crashes
- Respect opt-outs: include an unsubscribe mechanism and process removal requests within 10 business days (CAN-SPAM requirement)
- Monitor your Gmail Sent folder for messages marked as spam — this signals your sending patterns need adjustment

## Frequently asked questions

### How many emails can I send per day with the Gmail API?

500 messages per day for personal @gmail.com accounts. 2,000 messages per day per user for Google Workspace accounts (with a total of 10,000 recipients/day, max 100 recipients per message via API). These are hard infrastructure limits that cannot be raised by requesting a quota increase. Trial Workspace accounts are capped at 500/day.

### Is the Gmail API suitable for cold email at scale?

No — not for large-scale cold outreach. Gmail's 500-2,000/day limits make it suitable for warm-lead follow-ups or small targeted campaigns. For bulk cold email at thousands/day, use a dedicated ESP (SendGrid, Mailchimp, Apollo) with proper deliverability infrastructure. The Gmail API is best for highly personalized outreach where the daily limit is not a constraint.

### What happens when I hit the daily sending limit?

Gmail returns HTTP 429 with error message containing 'Daily sending quota exceeded' or 'Mail sending limit exceeded'. Subsequent send attempts that day will also fail. The limit resets at midnight in the account's timezone. Build a counter in your automation and stop at 90% of the limit to leave headroom for manual emails.

### Can I send from multiple Gmail accounts to get higher daily volumes?

Technically yes — each account has its own 500/day (personal) or 2,000/day (Workspace) limit. However, coordinating multiple accounts requires separate OAuth tokens per account. Google Workspace allows this through Domain-Wide Delegation. Be cautious: IP-coordinated sending across many accounts can trigger Google's abuse detection.

### Why are my outreach emails landing in spam?

Common causes: sending identical content to many recipients (vary your templates), no List-Unsubscribe header, your sending domain lacks SPF/DKIM/DMARC records, or you're sending to low-quality email lists. Use Gmail's sent rate (spread sends over the day), add proper email authentication for custom domain addresses, and ensure your lead list has been verified.

### Is the Gmail API free for sales outreach?

The API itself is free. However, using the gmail.send scope for external apps requires completing Google's OAuth verification process. Google Workspace (needed for 2,000/day sending) starts at $6/user/month. There are no per-email API charges.

### Can RapidDev help build a custom sales outreach system?

Yes. RapidDev has built 600+ apps including sales automation platforms with Gmail API integration, CRM connectivity, and reply detection. We can build the full pipeline: lead ingestion, personalization engine, send scheduling, reply tracking, and a management dashboard. Reach out at rapidevelopers.com for a free consultation.

---

Source: https://www.rapidevelopers.com/api-automations/how-to-automate-gmail-sales-outreach-using-the-api
© RapidDev — https://www.rapidevelopers.com/api-automations/how-to-automate-gmail-sales-outreach-using-the-api
