Skip to main content

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

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