To delete an email account on your iPad's Mail app, open the "Passwords & Accounts" section of the Settings app.
To sign out of iCloud on all of your devices at once, you can head to iCloud's website and change your password.