Fixed special character bug.

Fixed bug where mailboxes with special characters weren't parsed
correctly thus forming invalid XML.