Please consider using libfeedback for emitting event feedback
Geary currently uses gsound src/client/plugin/sent-sound/sent-sound.vala
. If it switched to libfeedback the events could also trigger haptic feedback and LEDs on mobile. I can look at a patch if that looks o.k.