Fix actual errors revealed by eslint.
Fix actual errors revealed by eslint.

  2387:28   error  'gmail' is not defined                                   no-undef
  2390:20   error  'gmail' is not defined                                   no-undef

"gmail" should be "api".

KartikTalwar/gmail.js,avzabr/gmail.js