Preparations - change in Gmail settings :
...
1. You need to keep the 2-step verification off, if you’re using it.
2. Allow less secure apps access to your account.
3. Visit http://www.google.com/accounts/DisplayUnlockCaptcha and sign in with your Gmail username and password.
3. Allow less secure apps access to your account.
And it’s done. That’s all you need to do.
...