> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mochahost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting up Gmail as the e-mail provider in Plesk

> If you are a Google Workspace user, you can configure your domain to use Gmail as its e-mail provider. This article shows what you need to do in Plesk to make Gmail your e-mail provider.

This article describes how to set up Gmail as the e-mail provider for Google Workspace customers. To do this, you modify your domain's DNS Mail Exchanger (MX) records in Plesk to point to Google's mail servers.

> 🚧 Important
>
> * Before you can use Gmail as the e-mail provider for your domain, you must verify your domain with Google Workspace. For information about how to do this, please visit [https://support.google.com/a/answer/60216](https://support.google.com/a/answer/60216).
>
> * If you have users that already have e-mail accounts on your domain, you must create accounts for them in Google Workspace **before** you change the MX records. Otherwise, they will be unable to send or receive messages in Gmail. For information about how to create accounts in Google Workspace, please visit [https://support.google.com/a/topic/14586](https://support.google.com/a/topic/14586).

## Setting up Gmail as the e-mail provider in Plesk

To set up Gmail as the e-mail provider for your domain in Plesk, you delete the existing e-mail DNS records and then add new MX records that point to Google's servers. To do this, follow these steps:

1. Log in to Plesk.

2. In the left sidebar, click **Websites & Domains**:\
   ![](https://static.hosting.com/kb/kb-plesk-sidebar-websites-and-domains.png)

3. Click **DNS Settings**:\
   ![](https://static.hosting.com/kb/kb-plesk-admin-dns-settings-icon.png)

4. In the list of DNS records, select the check boxes for the following records. Replace ***example.com*** with your own domain name:

   * ***example.com*** (MX 10 record)

   * mail. ***example.com*** (A record)

   * webmail. ***example.com*** (A record)

5. Click **Remove**, click **Yes** to confirm the deletion, and then click **Update**. Plesk removes the selected records.

6. Click **Add Record**.

7. In the **Record type** list box, select **MX**.

8. Leave the **Mail domain** text box blank.

9. In the **Mail exchange server** text box, type `ASPMX.L.GOOGLE.COM`.

10. In the **Specify the priority of the mail exchange server** list box, select **very high (0)**.

11. Click **OK**. Plesk creates the DNS record, but does not activate it.

12. Repeat steps 6 to 11 for the following mail servers. Each time, use the table to specify the next mail exchange server and its corresponding priority:

    | Mail exchange server    | Priority |
    | ----------------------- | -------- |
    | ALT1.ASPMX.L.GOOGLE.COM | 5        |
    | ALT2.ASPMX.L.GOOGLE.COM | 5        |
    | ALT3.ASPMX.L.GOOGLE.COM | 10       |
    | ALT4.ASPMX.L.GOOGLE.COM | 10       |

13. Click **Update**. Plesk activates the new records.

14. In Google Workspace, activate Gmail:

    * Log in to your Google Workspace account.

    * Open the setup tool in the Admin console.

    * In the Gmail section, click **ACTIVATE**, and then click **CONTINUE**.

    * Scroll to the bottom of the page, and then click **ACTIVATE GMAIL**.

    > 📘 Note
    >
    > It can take several hours for the switchover to Gmail to complete. During this transition period, you continue to receive messages at your existing e-mail accounts in Plesk.

## More information

For more information about Google Workspace, please visit [https://workspace.google.com/](https://workspace.google.com/).
