1. open your
gmail and open the Account setting like this
2. Now click
on security option
3. Now open
the settings
4. Again put
the password if it is ask
5. Now open
the app specific password and open the Manage app specific password
6. Now select
your device and click on generate like this
7. In the
next window you can see the app password , this password copy from here and put
into the mail client