Enhancement: Fix to prevent the email X-Site scripting

Fix to prevent the email notification X-Site scripting

https://github.com/owncloud/ocis/pull/6429
https://github.com/owncloud/ocis/issues/6411
