Skip to main content

How to Set Up Gmail Email

By completing this setup, you will be able to send emails — such as quotations and invoices — directly from Invent ERP using your name and email.

Step-by-Step Process

Step 1: Create a Google Cloud Project

  1. Go to Google Cloud Platform.
  2. Click Select a Project → New Project.
  3. Enter a project name (e.g., Invent ERP) and click Create.
  1. Go to APIs & Services → OAuth Consent Screen.
  2. Select External and click Create.
  3. Enter the App Name and provide your Gmail email address.
  4. Add inventerp.com as an Authorized Domain.
  5. Add your Gmail as the developer contact and click Save and Continue.
  6. Add test users, then click Back to Dashboard and Publish App.

Step 3: Configure Mail Server in Invent ERP

  1. Log in to Invent ERP and go to Administration → Configuration → Settings.
  2. Navigate to Technical → Mail Server and click Add.
  3. Enter a description (e.g., Main Email).
  4. Under Authenticate Using, choose Gmail OAuth Authentication.
  5. Copy the OAuth2 Redirect URL.

Step 4: Set Up OAuth Credentials

  1. In Google Cloud, go to Credentials → Create Credentials → OAuth Client ID.
  2. Select Web Application, enter a client name.
  3. Paste the OAuth2 Redirect URL under Authorized Redirect URIs.
  4. Click Create.
  5. Copy the Client ID and Client Secret and paste them into Invent ERP.
  6. Enter your Gmail address as the Username and click Create.

Step 5: Connect Your Gmail Account

  1. Scroll down and click Connect Your Gmail Account.
  2. Sign in to your Gmail account and click Continue.
  3. If you see "Google hasn't verified this app", click Advanced then Go to inventerp.com.
  4. Click Continue.
  5. Verify that the Token Valid button is green.
  6. Click Test Connection.

Your Gmail account is now configured and linked to Invent ERP.