Gmail API Integration
Full Guide Available
For complete Gmail API setup instructions, see the Gmail API Setup Guide in the Accounts section.
Overview
EmailEngine can use Gmail REST API directly instead of IMAP/SMTP. This provides:
- Native Gmail features - Labels, categories, search
- Cloud Pub/Sub webhooks - Real-time notifications via Google infrastructure
- Granular OAuth2 scopes - Use limited scopes for Google verification
Quick Links
- Complete Setup Guide - Step-by-step Gmail API configuration
- Gmail over IMAP - Alternative: Use Gmail with IMAP/SMTP
- Service Accounts - Access multiple accounts without user consent
When to Use Gmail API
Use Gmail API when:
- You want native Gmail label and category support
- Google's verification requires limited OAuth2 scopes
- You need Cloud Pub/Sub for real-time notifications
Use IMAP/SMTP when:
- You need the full
https://mail.google.com/scope - Your organization restricts Cloud Pub/Sub
- You're migrating existing IMAP integrations
See Also
- Gmail API Setup - Complete configuration guide
- Gmail over IMAP - OAuth2 with IMAP/SMTP
- Google Service Accounts - Domain-wide delegation