ColdSend Logo
ColdSend
HomeFeaturesPricing
Contact UsGet Started
Help Center/Infrastructure
Infrastructure

Google OAuth Setup Guide

Learn how to create a Google Cloud OAuth app and connect via it in ColdSend

Last updated: March 1, 2026

How to Set Up Private Infrastructure (OAuth) for Google

Private Infrastructure lets you connect mailboxes through your own Google Cloud OAuth app instead of ColdSend's shared app. You control the credentials, satisfy strict security reviews, and sign every message with your app ID, boosting trust and deliverability.

Step 1: Create a Project in Google Cloud

  1. Go to Google Cloud Console.
  2. Click the project dropdown on the top bar.
  3. Click New Project.
  4. Give your project a name (e.g., ColdSend OAuth App) and click Create.

Create Project

Step 2: Enable the 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.
    Create Project
  1. Go to APIs & Services > OAuth consent screen, and click on Get Started button.

  2. Fill your details in the App Information Section and click on continue.

  3. In the audience type, Choose External for User Type and click Create. External type allows users other than the ones in your organization to login with your app, you can choose internal if you want to restrict access within your organization. In case of External users, you will have to get your app verified by Google later, which is beyond the scope of this guide.

  4. Fill the contact details in the next 2 sections and click create.
    Get Started
    Configuration Step 1
    Configuration Step 2

  5. In the left sidebar, choose audience and add emails for test user. This will allow you to test your OAuth app with these emails, even when your app has not been verified by google.
    Add Test Users

Step 4: Create Credentials (Client ID & Secret)

  1. In the left sidebar, click on Clients tab.
  2. Click Create Client at the top.
  3. Choose Web application as the Application type.
  4. Name: Give it a recognizable name (e.g., ColdSend Web Client).
  5. Under Authorized JavaScript origins, you can add:
    • https://cloud.coldsend.pro
  6. Under Authorized redirect URIs, add the ColdSend callback URL:
    • https://cloud.coldsend.pro/client/email-accounts/oauth/callback
  7. Click Create.
  8. A modal will pop up with your Client ID and Client Secret. Download or copy these you will need them in ColdSend.
    Create Oauth Client
    Oauth Credentials

Step 5: Add Required Scopes

  1. On the left sidebar, navigate to the Data Access section and click Add or Remove Scopes.
  2. Add the following scopes to ensure full functionality:
    • https://mail.google.com/
    • https://www.googleapis.com/auth/gmail.send
    • https://www.googleapis.com/auth/gmail.readonly
    • https://www.googleapis.com/auth/userinfo.email
    • https://www.googleapis.com/auth/userinfo.profile
  3. Click Save and Continue.
    Oauth Scopes

Step 6: Add Credentials in ColdSend

  1. Log into your ColdSend account.
  2. In the left sidebar, navigate to Sender Accounts.
  3. Click on Create Email Account Dropdown and choose Google Workspace.
  4. Select Private Oauth App and Paste your:
    • Client ID
    • Client Secret
  5. Click Add Configuration.
  6. Click on the Verify Credentials icon, and ensure your app is verified.
    Add ColdSend Private Google App
    App in Unverified State
    App in Verified State

Step 7: Connect Mailboxes Using Your OAuth

  1. Go to Email Accounts and click Add Account.
  2. Select Google Workspace.
  3. Under the connection options, ensure you select your newly created OAuth Configuration instead of the shared option.
  4. Complete the sign-in flow. Your mailbox is now connected using your own OAuth app!

FAQs

Can I switch back to ColdSend's shared OAuth?
Yes, you can remove or deactivate your custom provider in your Team OAuth Configuration settings and reconnect mailboxes using ColdSend's default app.

Does ColdSend store my Google Client Secret?
Your client secret is securely stored encrypted to manage your team's OAuth authentication flow for token refreshes, but it is heavily protected and never exposed in the UI.

Related Articles

Need more help?

Contact our support team for personalized assistance

Contact Support
ColdSend Logo
Cold email infra
without the infra.
EmailHello@coldsend.pro

Socials

© 2025 ColdSend. All rights reserved.