# How to Configure Mail Server settings using Gmail Account? Last Updated On: 07 Jul 2026 4 minutes read This guide walks you through the steps to configure your Gmail account for mail server settings in Endpoint Central. You can set up the mail server using one of the following authentication methods: ## OAuth Authentication - Login to Endpoint Central and click **Admin** tab on the web console. - Under **Server Settings**, click **Mail Server Settings** - Server Name : **smtp.gmail.com** - Port : **465 (SSL) / 587 (TLS)** - Sender Email Address: Your email Address - Test Email Address: email address to receive test mails. - Email Type: SMTP/SMTPS - Enable TLS: Yes / No. If you choose No, then SSL will be set as default. - Go to the [Google Cloud Platform Console](https://console.cloud.google.com/). - From the projects list, select a project or create a new one. - Open the console and select **APIs & Services** and click **Credentials** on the left. - Click **Create Credentials**, then select OAuth client ID. ![---------------](https://cdn.manageengine.com/sites/meweb/images/desktop-central/help/server/gm3.webp) - Select the Application type as **Web application**. ![oauth-gcp-application-type](https://cdn.manageengine.com/sites/meweb/images/desktop-central/help/server/oauth-gcp-application-type.webp) - You have to configure your consent screen if you are configuring for the first time. ![---------------](https://cdn.manageengine.com/sites/meweb/images/desktop-central/help/server/gm4.webp) - Add the redirect URIs in the following format under **"Authorized Redirect URIs"** and click **Save**. - ***https://endpoint_central_server_FQDN or localhost:port/html/oauth-verification.html?actionName=updateMailServerDetails*** - ***https://endpoint_central_server_FQDN or localhost:port/html/oauth-verification.html?actionName=sendTestMail*** **Note:** If you specify *"localhost"*, the entire configuration must be performed on the machine where the Endpoint Central server is installed. ![oauth-gcp-redirect-uri](https://cdn.manageengine.com/sites/meweb/images/desktop-central/help/server/oauth-gcp-redirect-uri.webp) - You have successfully created the client ID and secret. ![oauth-gcp-cid-csecret](https://cdn.manageengine.com/sites/meweb/images/desktop-central/help/server/oauth-gcp-cid-csecret.webp) - Paste the created Client ID and Client Secret values in the Endpoint Central console. - Provide Redirect URL in the format: "***https://endpoint_central_server_FQDN or localhost:port/html/oauth-verification.html***" and click **Save** to finish the configuration. **Note:** If you specify *"localhost"*, the entire configuration must be performed on the machine where the Endpoint Central server is installed. ## Basic Authentication 1. Click **Admin** tab on the web console 2. Under **Server Settings**, click **Mail Server Settings** 3. Specify the following information: 1. Server Name : **smtp.gmail.com** 2. Port : **465 (SSL) / 587 (TLS)** 3. Sender Email Address: Your **email address** 4. Test Email Address: **email address** to receive test mails. 5. Email Type: **SMTP / SMTPS** 6. Enable TLS: **Yes / No.** If you choose No, then SSL will be set as default. 7. You need to **enable authentication** for configuring Gmail account 8. Username: Specify your email address 9. Password: Specify your password You have successfully configured the mail server using Gmail account.