# Gmail 2-way Sync

Two-way sync for Gmail allows users to integrate their Gmail account with the CRM and enables the synchronization of emails between the two platforms. This integration creates a connection between the platforms when the first email is sent from the CRM, and all subsequent emails in the thread will be synced between both platforms.

## Gmail Two way sync

Users can connect their personal Gmail email accounts and sync outgoing & incoming emails between the CRM and their personal Gmail accounts. Users can use their email accounts to send, receive & track emails.

The sync will be established between both platforms when an email thread is initiated from the CRM (first outbound message). All the subsequent emails in the thread will sync between both platforms.

{% hint style="info" %}
This feature is a user-level setting and does not impact other users in the sub-account
{% endhint %}

### Steps to connect

#### Step 1

Please go to the sub-accounts **Settings** page. Go to the **Profile** tab and then the **General** tab and scroll down to the section **Email (2-way sync)**, Over there, please select Gmail two sync and hit **Connect**.

{% hint style="info" %}
**Please Note:** You will only see the Profile tab if you are added to the subaccount for which you are viewing at that time. You can also use the login as a user of that sub-account to access the Profile tab.
{% endhint %}

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FYWghu3kQebbpQA4Hf9Ly%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-912a6e8ee72a4902d821ad2d3f6a962806398a2a_2way%20gmail.png?alt=media&#x26;token=c3b0a62d-9139-4257-9194-2f79dc88335f" alt=""><figcaption></figcaption></figure>

#### Step 2

It will then prompt you to choose one of the available Gmail Accounts in that browser or ask you to connect a Gmail account; select the one you need; connecting a new account will require you to enter that account's credentials in the popup that shows up.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FRoCiTE0QWdznlZHD1wTt%2Ff3shOMSp0WezGsPL2aAGbMKYVpk9KQMwbw%20(1).png?alt=media&#x26;token=b9fd33a1-b5b6-44cb-9c57-3038ff8143e7" alt=""><figcaption></figcaption></figure>

#### Step 3

Connecting it will then ask you about which permissions you are allowing LeadConnector to have on your Gmail account; make sure to allow all and then hit enable continue\*\*:\*\*

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FkVvv6HJhjN8rAQQIsEaC%2F3uZuk6F-mzjZN5vp_29_yRDRGb6DokjQEg.png?alt=media&#x26;token=038b9d5a-d98c-47de-a9ef-a16c7f8f3c16" alt=""><figcaption></figcaption></figure>

#### Step 4

Once you hit, **Continue**, you will see your desired Gmail account connected in the Email Two Way sync tab:

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FMyYEH9Pq2M5VFvOT7x1r%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-157d78db9fc5d44bed7c48d62892ef03518257ba_2way%20gmail%20-%202%20(1).png?alt=media&#x26;token=1244cefb-ad7c-4e9b-8c04-45afd2549c5e" alt=""><figcaption></figcaption></figure>

## 2-way sync between the CRM and your email account

You would need to send an email to a contact from the CRM to initiate the sync between both platforms.

{% hint style="info" %}
**Please note:** The first outbound email needs to be initiated from the CRM to establish the sync.
{% endhint %}

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2Fdk7WnIZ4tRdZ2lEh2OGe%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-5091400fb2d9e569cab970e3073095210cbc8fe1_2way%20gmail%20-%203.png?alt=media&#x26;token=9a87ae3c-0830-4cf1-a612-72e02484392e" alt=""><figcaption></figcaption></figure>

The sent email will show up in the sent inbox of the integrated Gmail account:

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FcC462jbo1EmgkBCyKQ1U%2FTkUibkPnbsnocvJ7Pe29R3EjDO-IdqMbCg.png?alt=media&#x26;token=ba5914a3-431b-4204-bee0-3e66f00170ad" alt=""><figcaption></figcaption></figure>

All subsequent messages in the email thread (initiated from the CRM) will be in sync. Outbound emails from your email will reflect in the CRM and vice versa.

{% hint style="info" %}
**Please Note:** The supported attachment size limit for Gmail Two way sync is 25 MB.
{% endhint %}

![](https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FrnxkyBrm9l2iAS0wCvHF%2FKFFk82QyDSizlj8oZgSFpmo62DMwDOMUmQ%20\(1\).png?alt=media\&token=c8a67665-7a93-4ad8-ba89-5561abff2efc)![](https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FL7jVmicpR31UwgBkDSbl%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-c6b8197aa0257c326a94ebd2342422b2f934c773_2way%20gmail%20-%204.png?alt=media\&token=c9fdf7c4-5913-4110-a50e-b22809dc227d)

### Other functionalities

#### Update Email

This helps users change their connected email ID to another without disconnecting the previous connection.

New outbound emails from the CRM will start syncing with the newly added email address. Upcoming messages in the previously connected email ID (same thread) will stop syncing between the CRM & personal email.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FpHxtqGnykZGL9JiZfWwE%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-cbf02f542612785233224cfa067636ea2acb2c39_2way%20gmail%20-%205.png?alt=media&#x26;token=8f348357-22d6-4102-a762-1ab731e47178" alt=""><figcaption></figcaption></figure>

#### Disconnect Email

This helps users to disconnect their connection and stop the sync with the CRM. Post disconnect, emails or messages will not sync between both platforms.

<figure><img src="https://3379043218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhRoDQv6gyGL2CyFV4Oob%2Fuploads%2FsE6V1EbcraCAMhaye7c9%2Fspaces_SpDxRsrRdNpxcuWtIMiA_uploads_git-blob-294ad1edca3e5f864cc0b49e1e0e479f99eca293_2way%20gmail%20-%206.png?alt=media&#x26;token=b3dd31fa-13c3-441d-9d2b-2280fcc60e49" alt=""><figcaption></figcaption></figure>

### Two-way sync with individual emails or bulk emails and workflows

How the sender domain mapping works for different types of emails:

**Individual Email:** On connecting a personal email account (Gmail), the Gmail email ID will be considered the sender domain for the emails the user sends for individual emails.

**Bulk Email:** If the user enters their email ID (after setting up the two-way sync) under the "From Field," the user email ID will be considered the sender domain for the bulk emails. If the field is blank, the sub-account level provider will be regarded as the sender domain.

**Bulk Email:** If the user enters an email ID different from their email ID connected (Gmail), it will consider the sub-account level provider as the sender domain.

**Workflow & Automation:** Emails will continue to go from sub-account level providers.
