Try this, it might work, but there are no guarantees.
Go to settings and select 'lock screen and security'
Then select 'Screen lock type'
If you have a PIN you'll need to enter it, and then you can select options for the screen lock. Select 'None'.
Then try to delete your mail account. You can go back and reset your PIN afterwards.