The current implementatipon of write on mail.activity will send a notification to the user every time a write is made on user_id. To avoid to send notification / mail if the user_id is given but doesn't change, we can simply filter the records. This will also avoid to check assignation rights in this case. Task: 1905086 closes odoo/odoo#30055