The guide linked at the end of the thread @uvs-300 has shared above covers how to set app passwords up so you can use Gmail, but to clarify, you need to have 2-Step Verification enabled to be able set these up :)
Then, this page is where you can set the app passwords up.
Google's instructions...