[Bug]: Error parsing activities' icons in Activity emails

Hello there,

We have NextCloud installed in a server of our enterprise. When somebody makes changes, an Activity mail is sent to our corporate E-Mail. But when the list of activities is shown, icons are broken because Google tries to “proxify” the icons that are saved in the local machine. See attached:

Steps to reproduce

  1. To have the icons saved locally.
  2. To receive an email from the server where they are allocated.

Expected behavior

To see correctly the activities’ icons.

Please note

Not really a bug from NextCloud itself, but I would like to know if there is a method to get the type of activity (comment, tag…) so I can program my own code for changing the icons.