How to Configure Google Workspace & Gmail Mailer in Icegram Express
MaxConnect Google Workspace or Gmail to Icegram Express via the official Gmail API with OAuth 2.0 authentication.
Using the Google Workspace / Gmail mailer in Icegram Express connects your website directly to Google’s mail servers through the secure Gmail API using OAuth 2.0, eliminating the need to expose raw email passwords.
Part 1: Create a Project in Google Cloud Console
- Navigate to the Google Cloud Console and sign in with the Google Workspace or Gmail account you intend to send emails from.
- In the top navigation bar, click the project selector dropdown and click New Project.
- Name your project (e.g.,
Icegram Email Mailer) and click Create. - With your new project selected, go to APIs & Services > Library.
- Search for
Gmail API, click on it, and click Enable.
Part 2: Configure the OAuth Consent Screen
- In the sidebar, go to APIs & Services > OAuth consent screen.
- Select External (or Internal if using Google Workspace for organizational users only) and click Create.
- Fill in the required app details:
- App name: e.g.,
Icegram Express Mailer - User support email: Select your email address.
- Developer contact information: Enter your email address.
- App name: e.g.,
- Click Save and Continue through the Scopes step (no custom scopes needed).
- Under Publishing status, click Make External / Publish App and confirm to switch the status to In production (this prevents OAuth tokens from expiring after 7 days).
Part 3: Create OAuth 2.0 Credentials
- In the Google Cloud sidebar, go to APIs & Services > Credentials.
- Click Create Credentials > OAuth client ID.
- In the Application type dropdown, select Web application.
- Under Authorized redirect URIs, click + Add URI.
- Copy the Redirect URI displayed in your WordPress dashboard under Icegram Express > Settings > Email Sending (typically
https://yourdomain.com/wp-admin/admin.php?page=es_settings) and paste it into Google Cloud. - Click Create.
- Copy your generated Client ID and Client Secret.
Part 4: Connect Icegram Express to Google
- In your WordPress admin, go to Icegram Express > Settings > Email Sending.
- Scroll to the Select a mailer to send mail section and select Gmail / Google Workspace.
- Paste your Client ID and Client Secret.
- Click Save Settings.
- After the page reloads, click Authorize with Google.
- Sign in to your Google account and click Allow to grant sending permissions.
- Use the Send Test Email tool to confirm successful transmission.