# Move mail from Gmail or Google Workspace

To move mail from Gmail or Google Workspace, open **Settings › Import Mails** in XgenPlus, click **Google** under **Or import using OAuth2 Authentication**, sign in to the old account and allow access. The import then runs in the background. To keep receiving mail sent to the old address for a while, also set up a **Connector**.

## How to move mail from Gmail or Google Workspace

1. In XgenPlus, click your profile picture, then **Settings**, and open **Import Mails**.
2. Under **Or import using OAuth2 Authentication**, click **Google**.
3. In the Google window, sign in to the old account and allow access.
4. Let the import run in the background. Come back to **Import Mails** to see the progress or click **Refresh**.
5. Optionally, set up a **Connector** for the old account so new mail sent there still reaches you.

## When to use it

> Acme Traders is moving from Google Workspace to XgenPlus. Each employee, like Meera in accounts, opens Import Mails on their first day, clicks Google and signs in to their old account. Years of mail arrive in XgenPlus overnight, and IT never has to handle anyone's password.

## Before you move

- Make sure you can still sign in to the old Google account. Keep it active until the import has finished.
- Check that your XgenPlus mailbox has enough space for the old mail. Imported mail counts towards your storage.
- If you will use **Using IMAP** instead of the Google button, make sure IMAP access is allowed in the old account. If it uses two-step verification, create an app password there.
- If **Import Mails** or **Connector** is missing from Settings, your administrator has hidden it. Ask them to turn it on.

## Two ways to import

| Method | When to choose it |
|---|---|
| **Google** button (OAuth2) | The simplest way. You sign in on Google's page, and no password is typed into XgenPlus. |
| **Using IMAP** | When the Google button can't be used, for example if your old organisation blocks third-party sign-in. Enter the **Email Address**, the app password in **Password / App-Password**, the IMAP **Host Name** and **Port**, keep **SSL Enabled** on, and click **Start import**. |

## While the import runs

- The import starts by itself once you sign in and allow access. It runs in the background. The time depends on the size of the mailbox and the limits of the old server, and can be up to 2 days. You can log out and carry on working.
- The **Import Mails** screen shows a progress percentage and the start time. Click **Refresh** to update it.
- Click **Cancel** on that screen to stop a running import.

## Keep receiving mail sent to the old address

People may keep writing to your old address for a while. A **Connector** links the old account to XgenPlus and fetches its incoming mail for you.

1. Click your profile picture, then **Settings**, and open **Connector**.
2. On the **New** tab, enter the old account's **Email Address**, **Password**, **Incoming Mail Server** and port, and tick **SSL** if the server uses it. Pick the ready-made Google choice under **Server**, or enter the details yourself. If the old account uses two-step login, enter an app password.
3. Keep **Enabled** ticked, click **Verify**, and when the check passes click **Save**.
4. Open the **Active** tab to see the connector and its status.

Nothing you do in XgenPlus is synchronised back to the old account. To send from the old address too, fill in the outgoing (SMTP) details the same way. Use **Import Mails** to copy old mail once, and a Connector to keep new mail coming.

## After you move

- Tell your contacts your new address.
- Set up your signature in XgenPlus.
- Export your contacts from Google as a CSV file and import them in XgenPlus Contacts. **Import Mails** copies mail only.
- Once the import has finished and the old address no longer gets mail, delete the connector on the **Active** tab.

## Good to know

- When a whole organisation moves its domain, the administrator handles where new mail for the domain is delivered. Each person can still import their own old mail.
- You can't import your own XgenPlus account into itself.

## Common questions

**Do I need to give XgenPlus my Google password?**

No. With the **Google** button you sign in on Google's own page and allow access. If you use **Using IMAP** instead, use an app password created in your Google account rather than your main password.

**Can I use XgenPlus while the import runs?**

Yes. The import runs in the background. The time depends on the size of the mailbox and the limits of the old server, and can be up to 2 days. You can log out and check later.

**Will my contacts come across too?**

Import Mails copies mail. Bring contacts across separately by exporting them from your old account as a CSV file and importing them in XgenPlus Contacts.


Source: https://docs.xgenplus.com/mail/migrate-from-gmail/
