Is it possible to disable a message using the GMail API? https://developers.google.com/gmail/api/
In GMail, if you are looking for a label: dumb, you get muffled conversations. If I try to apply the MUTE or MUTED label, I get:
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://www.googleapis.com/gmail/v1/users/me/messages/14b37d9bb14bb521/modify?alt=json returned "Invalid label: mute">
An indication that in practice there is no true MUTE / MUTED label.
Muting is one of GMail’s best features, without it the API seems pointless.
source
share