Open your Mac Mail client
From the Mail Menu, select Preferences
Click on the Account you want to remove in the left hand menu
Click the minus ( - ) button on the bottom left of the Accounts window.
Click “Remove” to complete remove the account (remember, any items that have not been saved externally or moved over to an On My Mac mailbox will be permanently deleted)