Here’s the output. I wasn’t sure what all to redact so I redacted more values than were probably necessary.
Last login: Wed Dec 15 18:55:12 on ttys000
send: b'POST /token HTTP/1.1\r\nHost: oauth2.googleapis.com\r\nContent-Length: 253\r\ncontent-type: application/x-www-form-urlencoded\r\nuser-agent: Got Your Back 1.53 | https://git.io/gyb | Jay Lee - jay...@gmail.com | Python 3.10.0 64-bit final | google-api-client 2.29.0 | macOS-10.16-x86_64-i386-64bit x86_64\r\naccept-encoding: gzip, deflate\r\n\r\n' send: b'grant_type=refresh_token&client_id=xxxxx&client_secret=xxxxx&refresh_token=xxxxx'
reply: 'HTTP/1.1 200 OK\r\n'
header: Cache-Control: no-cache, no-store, max-age=0, must-revalidate
header: Pragma: no-cache
header: Expires: Mon, 01 Jan 1990 00:00:00 GMT
header: Date: Thu, 16 Dec 2021 15:07:42 GMT
header: Content-Type: application/json; charset=utf-8
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Encoding: gzip
header: Server: scaffolding on HTTPServer2
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
header: Transfer-Encoding: chunked
send: b'GET /oauth2/v1/certs HTTP/1.1\r\nHost: www.googleapis.com\r\nuser-agent: Got Your Back 1.53 | https://git.io/gyb | Jay Lee - jay...@gmail.com | Python 3.10.0 64-bit final | google-api-client 2.29.0 | macOS-10.16-x86_64-i386-64bit x86_64\r\naccept-encoding: gzip, deflate\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Thu, 16 Dec 2021 15:07:18 GMT
header: Expires: Thu, 16 Dec 2021 20:50:09 GMT
header: Content-Type: application/json; charset=UTF-8
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Encoding: gzip
header: Server: scaffolding on HTTPServer2
header: Content-Length: 1556
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Cache-Control: public, max-age=20571, must-revalidate, no-transform
header: Age: 24
header: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
send: b'GET /oauth2/v1/certs HTTP/1.1\r\nHost: www.googleapis.com\r\nuser-agent: Got Your Back 1.53 | https://git.io/gyb | Jay Lee - jay...@gmail.com | Python 3.10.0 64-bit final | google-api-client 2.29.0 | macOS-10.16-x86_64-i386-64bit x86_64\r\naccept-encoding: gzip, deflate\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Thu, 16 Dec 2021 15:07:18 GMT
header: Expires: Thu, 16 Dec 2021 20:50:09 GMT
header: Content-Type: application/json; charset=UTF-8
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Encoding: gzip
header: Server: scaffolding on HTTPServer2
header: Content-Length: 1556
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Cache-Control: public, max-age=20571, must-revalidate, no-transform
header: Age: 24
header: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
send: b'GET /discovery/v1/apis/oauth2/v2/rest HTTP/1.1\r\nHost: www.googleapis.com\r\ncontent-length: 0\r\nuser-agent: Got Your Back 1.53 | https://git.io/gyb | Jay Lee - jay...@gmail.com | Python 3.10.0 64-bit final | google-api-client 2.29.0 | macOS-10.16-x86_64-i386-64bit x86_64\r\nauthorization: Bearer xxxxx\r\naccept-encoding: gzip, deflate\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n'
header: Accept-Ranges: bytes
header: Vary: Accept-Encoding
header: Content-Encoding: gzip
header: Content-Type: application/json; charset=UTF-8
header: Cross-Origin-Resource-Policy: cross-origin
header: Cross-Origin-Opener-Policy-Report-Only: same-origin; report-to="federated-signon-mpm-access"
header: Content-Length: 1720
header: Date: Thu, 16 Dec 2021 14:54:58 GMT
header: Expires: Thu, 16 Dec 2021 15:44:58 GMT
header: Last-Modified: Fri, 03 Apr 2020 02:15:00 GMT
header: X-Content-Type-Options: nosniff
header: Server: sffe
header: X-XSS-Protection: 0
header: Age: 765
header: Cache-Control: public, max-age=3000
header: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
send: b'GET /oauth2/v2/userinfo?fields=email&prettyPrint=true&alt=json HTTP/1.1\r\nHost: www.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: Got Your Back 1.53 | https://git.io/gyb | Jay Lee - jay...@gmail.com | Python 3.10.0 64-bit final | google-api-client 2.29.0 | macOS-10.16-x86_64-i386-64bit x86_64 (gzip)\r\nx-goog-api-client: gdcl/2.29.0 gl-python/3.10.0\r\ncontent-length: 0\r\nauthorization: Bearer xxxxx\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n'
header: Expires: Mon, 01 Jan 1990 00:00:00 GMT
header: Cache-Control: no-cache, no-store, max-age=0, must-revalidate
header: Date: Thu, 16 Dec 2021 15:07:43 GMT
header: Pragma: no-cache
header: Content-Type: application/json; charset=UTF-8
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Encoding: gzip
header: Server: ESF
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
header: Transfer-Encoding: chunked
send: b'GET /discovery/v1/apis/gmail/v1/rest HTTP/1.1\r\nHost: www.googleapis.com\r\ncontent-length: 0\r\nuser-agent: Got Your Back 1.53 | https://git.io/gyb | Jay Lee - jay...@gmail.com | Python 3.10.0 64-bit final | google-api-client 2.29.0 | macOS-10.16-x86_64-i386-64bit x86_64\r\nauthorization: Bearer xxxxx\r\naccept-encoding: gzip, deflate\r\n\r\n' reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json; charset=UTF-8
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Encoding: gzip
header: Date: Thu, 16 Dec 2021 15:07:43 GMT
header: Server: ESF
header: Cache-Control: private
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
header: Transfer-Encoding: chunked
send: b'GET /gmail/v1/users/me/messages?includeSpamTrash=false&q=-is%3Achat&maxResults=500&fields=nextPageToken%2Cmessages%2Fid&prettyPrint=true&alt=json HTTP/1.1\r\nHost: gmail.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: Got Your Back 1.53 | https://git.io/gyb | Jay Lee - jay...@gmail.com | Python 3.10.0 64-bit final | google-api-client 2.29.0 | macOS-10.16-x86_64-i386-64bit x86_64 (gzip)\r\nx-goog-api-client: gdcl/2.29.0 gl-python/3.10.0\r\ncontent-length: 0\r\nauthorization: Bearer xxxxx\r\n\r\n' reply: 'HTTP/1.1 403 Forbidden\r\n'
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Type: application/json; charset=UTF-8
header: Content-Encoding: gzip
header: Date: Thu, 16 Dec 2021 15:07:43 GMT
header: Server: ESF
header: Cache-Control: private
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
header: Transfer-Encoding: chunked