Mailto link to NextCloud error

I have added nextcloud as a mailto client in Firefox but when I click the email icon in the Contact list
inside NextCloud it switches to the mail app but intead of chowing the new mail window I get an error
messega saying: Error: e.label is undefined.

Anyone know a way to fix this ?

There is already a report on github, please follow the discussion there: