Bug #12933: Ensure all mailboxes are cast to string value