goto google developer console from ur pc you need to enable your app from there it must be got disable and then goto APIs and auth and enable gmail from there next step u have to do is goto credential and create new client id then copy it and encode it may be it can help you but am not sure it will.
Bookmarks