Downloading Email Reports using the Gmail API

A few weeks ago I got a smart power meter and started to track the power output of my balcony solar plant. The smart meter is coupled to the router, which can be configured to send daily email reports. I am using Gmail, which uses so-called labels to tag emails. I set up a filter [ ]