API: Add disableMailNotification on comments

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Description

We're using robots which adds automatic comments to commits on specific lines and we end up being flooded by mails.
To make it simple, xx issues detected = xx mails:

2016-12-08_11_31_01-Boîte_de_réception_-julien.richard_ubisoft.com-_Outlook

We don't want to make only one comment as we would lose the benefit of commenting on the exact same lines where the problem was detected (as a normal reviewer would do).

I would love if GitLab would automatically merge all theses changes in one mail as it would benefit everyone in other user cases. But in our case being able via the API to disable notifications would make the job completely.

Proposal

Add a disableMailNotification parameter to the comments API.

Links / references

Edited by 🤖 GitLab Bot 🤖