I would guess you somehow deleted the data for the email app. This would erase any email accounts and associated data from the app. You may have done it by accident or by using a cleaner app (such as Clean Master or something similar) that make it easy to clear app's cached data and (if you're not careful) the app data as well.