The Gmail example in the README will not work unless "Access for less secure apps" has been turned on from this page. It might be worth adding a note about this to the README, if only to prevent additional issues (like this one) from being opened in the future.