This will completely delete an email address and email account from the Mac, including all settings for the email account, and removing all associated emails from the Mail app in Mac OS X.
- Pull down the Apple menu and choose ‘System Preferences’
- Choose “Internet Accounts”
3. Select the email account you want to delete from the Mac from the list
4 .With the email account selected, click the [-] minus button (or hit the Delete key on the keyboard)
5. Confirm that you want to remove the email account AND all of it’s associated emails and account settings from the Mac, including from the Mail application
6. The account will disappear from the list and all associated emails and settings from the email address will also vanish. You can repeat with other email accounts as necessary
<source: http://osxdaily.com/2016/04/04/delete-email-account-from-mac/>