Reveals the email address of the user associated with the current token. If no token has been loaded yet, this function does not initiate auth.
gs4_user()
An email address or, if no token has been loaded, NULL
.
gs4_user()#> [1] "googlesheets4-dev-docs@robust-fin-276504.iam.gserviceaccount.com"