This tutorial describes the steps required fro configuring Gmail in Windows Live Mail 2011. You can easily setup Gmail using the Mail option available as part of Accounts menu.
Navigate to Account menu then click the E-mail option. This would display the following Add your email accounts screen.
Now enter your Gmail address and password in the respective fields. Click the Next button after providing a suitable name for your sent message. This would display the a confirmation message as shown below.
Accessing Gmail Account properties in Windows Live Mail 2011
If you want to access the configured Gmail Account properties for any modification like changing the display name for your sent message then you can do the following
Right click on the Configured Gmail Account and select Properties from the menu list.
Now you can change your Gmail Account settings including the sever ports (Advanced tab).
The same way you configure other email accounts such Yahoo and Hotmail.