How to set up an incoming mail server in Odoo?

Go to settings->general settings->Incoming Email Server Link->create new and type the following details (Sample data given below)

Name:-(give any name)
Server Type:- pop server
Server Name:- pop.gmail.com
Port:-995
SSL/TLS:- ticked
username:-(your valid gmail username)
Password:-(password of your corresponding gmail address)