I have been drawing up an ER diagram of the messaging subsystem and have deduced what I think are some additional relationships. However I cannot see any obvious links to the message_provider table. The component field implies a link to information such as modules/plugins but I cannot find anywhere where that might link to a primary key (perhaps there is no such obvious relationship). You can see it in its loneliness here.
http://www.examulator.com/er/3.1/components/message.png
(Click on the diagram to make it less fuzzy)