[sharing] fix mail notification

we need the recipient as a additional parameter to know for which share the notification was send.

This affects master, stable7 and stable6

fix #10393