Step 1 : Configure Gmail
Make sure POP3 is turned on in Gmail.
Login to Gmail.
Click Settings > Forwarding and POP/IMAP tab.
In the “POP3 Download” section, select Enable POP for all mail (If you don’t want emails prior to now to be synced, then select Enable POP for mail that arrive from now on).
In When message are access with POP drop down list select archive Gmail’s copy and click Save Changes.
Step 2 : Enable Less secure apps
Click Turn On to Access to less secure apps.
Step 3 : Configure Dynamics 365
Create a new Email Server Profile
Navigate to Dynamics 365 (CRM) instance.
Click Settings > Email Configuration > Email Server Profiles.
Click +NEW > POP3/SMTP Server button.
Complete below fields.
- Name: <You can use anything here. i.e. Gmail>
- Email Address: <your Gmail email address>
- Incoming Server Location: pop.gmail.com
- Outgoing Server Location: smtp.gmail.com (optional for receiving only setup) (If you use Gmail with your work or school account, enter mail.domain.com)
- Authenticate Using: Credentials Specified by User or Queue
- Use same settings for Outgoing: Yes
Expand the Advanced Tab.
- Incoming Port: 995
- Outgoing Port: 465 (optional for receiving only setup) (If you use Gmail with your work or school account, select Port 110.)
In this example I have also updated the below fields.
- Process Email From: <select the date you want to process emails from>
- Minimum Polling Interval in Minutes: 5 (Even if you set this to a lower value, minimum would be 5 minutes)
- Maximum Concurrent Connections: 1 (default is 10)
Click Save and Close button.
Step 4 : Enable Server-side Synchronisation
Click Settings > Email Configuration > Email Configuration Settings
Make sure the Server-side synchronisation is selected in Process Email Using drop down list.