How To Backup Gmail Account
Here is a cool tool which runs on both Windows and Linux and can back up Gmail inbox to a local folder on your hard drive.
Download it from here.
Before installing, first check whether IMAP is enabled in Gmail account by clicking on settings and seeing the IMAP tab configuration as below.
Once downloaded and installed, enter the following details before hitting the Backup button :
Gmail address
Password
Path...