Try executing following in the console (bench console):
frappe.reload_doc("email", "doctype", "email_account", force=True)
frappe.db.commit()
And then try again after clearing cache (bench clear-cache) and rebooting bench (bench restart).
Try executing following in the console (bench console):
frappe.reload_doc("email", "doctype", "email_account", force=True)
frappe.db.commit()
And then try again after clearing cache (bench clear-cache) and rebooting bench (bench restart).