When you delete an account from mail, it will remove all the associated mailboxes, unless they are under 'On My Mac' (at least this has been my experience, so your inbox, send items, etc are gone).
If you want to keep the contents of those folders, you can do two things.
1 create new...