extending scopes for api key

I have an api key for my node js application to access google spreadsheets. Now I would like to access also Gmail API. So I activated the Gmail API in the cloud console but when I add the scope 

'https://www.googleapis.com/auth/gmail' to my google.auth() request I get an error message "invalid credentials'. What else is required to use the Gmail API with that api key?
1 0 44