Send an email when an exception occurs on an GIt hook trigger
As this endpoint is triggered indirectly by the user when he pushes a commit, he cannot view a message on our frontend.
It's really frustrating when a commit is pushed but does not trigger anything, so we should at least send an email to the user when an error occur (like when the max char length was exceeded in https://gitlab.com/arkindex/backend/-/issues/667)