Enable pop3 from gmail account
Download thunderbird from Here→https://www.thunderbird.net/en-US/
opening thunderbird will ask you to configure email
if you click manual config
then you will get this ↓ window
If you want to change your saving database folder then you can change it here ↓