In case you have enabled Two-Factor Authentication for your email account, you must enter the App-specific password for IMAP configuration and not your regular email password.
Click Server Details to view the incoming and outgoing server settings.
Choose the Email Sharing Settings.
There are four types of sharing options: Private sharing: Emails will not be accessible to anyone in the organization except the user to whom it is sent. Even if the record is shared with other users the emails within will not be displayed. Public sharing:Every email sent or received will be accessible to all users across the organization. > Here you can exclude your own domain to keep internal emails between colleagues private. Custom sharing:User can share emails using record sharing option.