This is related to Google acounts security.Before passing password in roundcube, login to gmail and go to https://accounts.google.com/DisplayUnlockCaptcha After this step go back to roundcube.