If you need to delete a mail account from your iPhone/iPad, follow the steps below:
Important Note: Deleting an email account from your iPhone/iPad will also remove any messages that are stored on your device. It will not, however, delete any messages from the server (for example, if you have an IMAP account the messages will remain in your mailbox on the server).
This completes the process of deleting the mail account from your device.