Email Sending Settings in Omni
Google Settings
Introduction
Google announced that starting May 30, 2022, in order to increase security, it will no longer support the use of third-party apps or devices that request login to a Google Account using only your username and password. With this change, you will need to configure Omni before that date so your operations are not affected.
Don’t worry — we will guide you through the process below.
- Access Omni at https://omni.digitalcontact.cloud/
- Log in.
- On the main screen, go to the Channels option and then click on Email.

- Identify which email channels are registered (the procedure must be carried out for each account).
- Once you have identified the account that uses Gmail, click on Configure and you will see the screen below to know which account is being used.

-
Now that you know which account it is, access gmail.com using the credentials from the previous screen.
- Once logged into Gmail, the first step is to enable two-step verification (if you haven’t already done so).
-
Click on your account in the upper right corner and then click on “Manage Your Google Account.”

-
Click on Security
-
Under How you sign in to Google, click on the Two-Step Verification option.

- Click on Get Started and continue the verification process.

- Enter your email password and click Next.

- Confirm that the last digits of the phone number configured in the email are correct and click Send.

- Check your mobile phone — you will receive an SMS with the code.

- Enter the code received via SMS and click Next.

- Confirm that the mobile phone number is correct and click Next.

- Check your phone again — you will receive a new SMS with a code. Enter this code, click Next, and then Activate.

- After this procedure, Gmail’s two-step verification has been activated and the first step is completed, as shown in the image below.

- Under How you sign in to Google, click on App Passwords or search for it in the search bar.

-
Enter your email password and click Next.
-
An SMS with a code will be sent to your mobile phone. Enter this code and click Next.
-
On the screen below, under “Select the app and device for which you want to generate the app password,” provide:
- Select app: Email
- Select device: Other (custom name)

- In the device name field, you can enter Omni or any name you consider best.

- An app password will be generated for your device. Copy this password (we will use it for sending/receiving emails in Omni).

- Now you have completed the configuration step in Google. Immediately go to Omni, open the Channels > Email screen, paste the new password generated by Google, and click Save.

- Done! Now just wait about 15 minutes for emails to start being downloaded again by Omni.
Microsoft Azure Settings
To register a Microsoft email, you must enable the Microsoft flag when adding a new email.
The information required to complete the registration is:
- Email ID / Object ID
- Tenant ID / Directory ID
- Application ID
- Application Secret / Value

Procedure for Azure Portal Configuration
Registering a new App
In the Azure portal, under App Registrations, you must create a new app.
Register an application: Choose a name and set the “Account Type” to Any Azure AD directory (Multitenant).
The next step is to create authentication for the application:
Go to App Registration -> Authentication -> Add a platform -> Web Applications
Fill in the Redirect URIs: https://email.omni.digitalcontact.cloud/
Check the options “Access tokens” and “ID tokens.”

Adding a Secret Key
In App Registration -> Certificates & Secrets: select “Add a client secret.”
Choose a "Description" and set the “Expires” option. This will generate a “Value” for your Secret — make sure to save this value.

API Permissions
App Permissions
In the API Permissions tab, we must grant some permissions to the App.
Go to App Registrations -> API Permissions -> Add an API permission -> Microsoft Graph
Add the following Application-type permissions: Mail.ReadWrite and Mail.Send
Click on Grant admin consent for (...)

Integration Data
In App Registrations -> Overview
Copy the Application ID and Directory (Tenant) ID.
In addition to these two pieces of information, you will also need the Value of the Secret generated earlier.

Lastly, we need the user ID of the email to be registered:
In the Organization Users screen, access the desired email and copy the “Object ID.”

