An older Mac User Group member complained that after switching to El Crapitan most of his mailboxes had vanished from Mail.app. I suggested hunting in the sidebar for Show/Hide indicators. He reported back that he'd used that method successfully to restore the "missing" items.