The @googleapis/gmail dependency can be installed by itself, but there is one line I can't get to work without installing the greater googleapis dependency, from the quickstart, it's the call to get the oauth client:
const gmail = google.gmail({version: 'v1', auth});
Does getting the authorized client require the entire googleapis package be installed or am I missing something?