---
title: "How To Set Up Your Email Network (OAuth) in Smartlead for Google"
description: "Learn how you can create Google OAuth and connect it with your Smartlead account."
url: https://helpcenter.smartlead.ai/en/articles/296-how-to-set-up-your-email-network-oauth-in-smartlead-for-google
collection: "Setting Up Email Accounts"
updated: 2026-11-13
language: en
---

# How To Set Up Your Email Network (OAuth) in Smartlead for Google

Learn how you can create Google OAuth and connect it with your Smartlead account.

Your Email Network lets you connect mailboxes through **your own** Google Cloud or Microsoft Azure OAuth app instead of Smartlead’s shared app. You control the credentials, satisfy strict security reviews, and sign every message with _your_ app ID, boosting trust and deliverability.

Let’s look at how you can create an OAuth app in Google.

> ⚠ **Before You Start**
> 
> Please connect with your Smartlead Customer Success Manager (CSM) before creating your OAuth app. They’ll guide you through the steps to generate your **Client ID** and **Client Secret** correctly.
> 
> Mistakes here can affect your email deliverability and campaign performance, so we strongly recommend doing this with a CSM.

## **How To Create a Google Cloud OAuth App?**

### Step 1: Create a Project in Google Cloud

1.  Go to [Google Cloud Console](https://console.cloud.google.com/).
    
2.  Click the project dropdown on the top bar.
    
3.  Click **“New Project”**.
    
4.  Give your project a name (e.g. `YourAgency Smartlead OAuth`) and click **Create**
    

### Step 2: Enable Gmail API

1.  Inside your new project, go to the left sidebar and click **APIs & Services > Library**.
    
2.  In the search bar, type **“Gmail API”**.
    
3.  Click on **Gmail API**.
    
4.  Click **Enable**.
    

### Step 3: Configure OAuth Consent Screen

-   Go to **APIs & Services > OAuth consent screen**
    
-   **In the OAuth overview, click on get started**
    
    ![](https://staticfiles.gleap.io/ghelparticle/3A3Z0K40mHOiZEA8DyCiRZSByrmmV0o02DphTdMx7sGbT1SxJwYMAVqafEbj5otgHmhVtrBddYs.png)
    
      
    
-   Fill in the following details:
    
-   Give the app name and user support email, and click on next
    
    -   **App name**: Your agency or business name
        
    -   **User support email**: Your email address  
        
    
    ![](https://staticfiles.gleap.io/ghelparticle/3UNYxN2nanF4fAuXRwtXuyWBfmOTRMspSxVcxxQDPyaHvvTQvVrTxgjQWU9Ktt9xu7ZkEOUtRDA.png)
    
    -   Choose the Audience type to External and click on next.
        
    -   Choose the email address and click on finish.
        
        ![](https://staticfiles.gleap.io/ghelparticle/JWWPUR685tsT7JFuDRXg2iMZatB0Wl3CnB89sB30CLFJ6jjW2sMQrs2aMq9XdXyC8ljYGqXudDx.png)
        
          
        
    -   Navigate to clients
        
    -   Click on Create clients
        
          
        
        ![](https://staticfiles.gleap.io/ghelparticle/KMDfKU8GHY5PpXg6LHcvZpetxD9PV5GCNa7kvkQWt1bEqNEA2qalBOfoaKTJoLt0qXm9pyComza.png)
        
    -   Choose the application type as a web application
        
    -   Select the Name, it can be your brand name.
        
    -   In the Authorized JavaScript origins, add:
        
        [https://app.smartlead.ai](https://app.smartlead.ai)
        
        [https://yourwhitlabledurl](https://yourwhitlabledurl) (you can ignore if you don’t have any)
        
    -   In the Authorized Redirect URLs, add:
        
        [https://server.intellioauth.com/api/email-account/gmail/callback](https://server.intellioauth.com/api/email-account/gmail/callback)
        
        ![](https://staticfiles.gleap.io/ghelparticle/uhPJ3O6k2BvB0DqJmaxH5tAfjzkLPM20P87UEkDfSqpV97hmy9dAgMmDXp9X1Bfvorx3tsBuTIQ.png)
        
          
          
        
    -   Click on create
        
    -   You will get the client id and client secret, please have it downloaded for your reference
        
        ![](https://staticfiles.gleap.io/ghelparticle/c1Xj93RykdY8ODrufCqHJLW3LPGWttKGgIjbwJWXo8twt2ANzMo5NXHtgZrTBpUFDzgPZbkuJto.png)
        
    -   Navigate to data access to add scopes:
        
        ![](https://staticfiles.gleap.io/ghelparticle/1C1BTE6mGUWiW03gC3KAbtR92qwwc1He9LkrAbl9dqbbleh00caTU749L1snb7lF3TKPCYrrQfX.png)
        
          
        
    -   Click **Add or Remove Scopes**
        
    -   Add the following scopes:  
          
        
        ![](https://staticfiles.gleap.io/ghelparticle/sVq39PdGrXFkSP1aQPHzw5PiHvVkbiuxSy3sgzsvugSPLTo2X8RmSrcOWzL8kUjgq5V1Owzq9KR.png)
        
        -   `https://www.googleapis.com/auth/userinfo.email`
            
        -   `https://www.googleapis.com/auth/userinfo.profile`
            
        -   `https://www.googleapis.com/auth/gmail.send`
            
        -   `https://www.googleapis.com/auth/gmail.readonly`
            
        -   `https://mail.google.com/`
            
            Once the above scopes are added, click on save.
            

### Step 4: Add Credentials in Smartlead

1.  In Smartlead, go to:
    
    -   **Settings > Google OAuth**
        
2.  Paste your:
    
    -   **Client ID**
        
    -   **Client Secret**
        
3.  Click **Save Credentials**.
    

> **Info:** Setting up real-time inbox sync? If your integration requires real-time Gmail notifications, you'll also need to configure Google Cloud Pub/Sub in your project. See [How to Set Up Google Cloud Pub/Sub for Real-Time Gmail Sync](https://helpcenter.smartlead.ai/en/articles/459-how-to-set-up-google-cloud-pubsub-for-real-time-gmail-sync-private-infrastructure.md) before connecting mailboxes.

### Step 5: Connect Mailboxes Using Your OAuth

1.  Go to **Email Accounts > Add Mailbox**
    
2.  Select:
    
    -   **Your Email Network (for Smart and Prime users only)**
        
    -   **Google OAuth**
        
3.  Choose the mailbox and complete the connection.
    

Your mailbox is now connected using your **own OAuth app**, not Smartlead’s.

Similar to how you create Google OAuth, you can create Outlook OAuth too for setting up your own email network in Smartlead.👇

[Set Up Microsoft Outlook OAuth](https://helpcenter.smartlead.ai/en/articles/299-how-to-set-up-private-infrastructure-oauth-in-smartlead-for-microsoft-outlook.md)

## **FAQs**

**Q. Can I switch back to Smartlead’s shared OAuth?**

Yes - delete your custom provider in **OAuth Configuration** and reconnect mailboxes using _Smartlead OAuth_.

**Q. Does Smartlead store my client secret?**

Only momentarily for validation; it is never stored long‑term.
