I would like to disable the sound that comes up with error notifications in Thunderbird. In general I would like to be able to customize such sounds.
Note this is different from the sound for New Mail or chat notifications, whose settings are accessible from the standard preferences instead.
How can I do this? I am using Ubuntu 14.04 LTS and Thunderbird 45.2.0.