1. Goto google security settings page.

  2. Under "Signing in to Google" select App Passwords. You have to enable 2-Step Verification for your account. Otherwise, you cannot see App Passwords.


  3. At the bottom, choose Select app and choose "Other (Custom Name)" and then press Generate.


  4. Copy 16-character code in the yellow bar.