@deepalimathur
Welcome to forums
You can check below post for Gmail Configuration
Hope this may helps
Thanks