Remove deprecated endpoints and add the EmailAccounts endpoint