An agent signed in to your Google account puts the whole account at risk. Give it an inbox and forward only the mail it needs:
$ tokenmail create --username invoices
# Gmail: Settings, Forwarding and POP/IMAP, add the address
$ tokenmail wait ADDRESS --from google.com # enter Google's code back in Gmail
# Gmail: a filter with "Forward it to" the addressThe agent never has your Google login, and the inbox's key reads only that inbox. Forwarded mail keeps its DKIM signature.