MucMessageHandler: improve participant handling in some weird cases.
MailPlugin: put messages to the queue only when the queue is not full.