What app are you using for Mail?
If it's Apple's Mail.app, you can delete the old accounts, BUT...
BE AWARE that you may lose the emails IN those accounts UNLESS you export them first, to some kind of archive.
If you don't care about that, just go to Mail.app's preferences, click "accounts", select the account you wish to remove, and then hit the "-" sign (lower left corner).