Using googleapis

Hi, I'd like to access
googleapis
to list emails . Does anyone know how to get the access_token/refresh_token to use them here
oauth2Client.setCredentials({ access_token: session?.accessToken });

Maybe there is another way to use
googleapis
?
Was this page helpful?