Add ip address to activity notification

I would like the Activity app (https://github.com/nextcloud/activity/) to report the ipaddress of the machine that downloads (or makes other changes) to a file. I believe that the code that would need to be modified is in /var/www/html/apps/activity/lib/MailQueueHandler.php. The question is where can I find the ipaddress to add to the mail? If this has already been done by someone, please let me know.

Mind opening this as feature request in the repo so the authors of the app can give you feedback about whether such a modification would even be accepted?

In the light of data protection regulations Iā€™m really unsure if this is ok to do.