add a sanity check to see if messaging is enabled before outputting menu item

If messaging is disabled we shouldn't output the messaging option on the custom menu.

TODO: check if popup notification or jabber are configured or not