accounts

Name Resource Description
Get mailboxes, aliases and groups list GET api/2.0/mail/accounts Returns lists of all mailboxes, aliases and groups for user.
Get account by email GET api/2.0/mail/accounts/single Returns the information about the account.
Get default account settings GET api/2.0/mail/accounts/setups Gets the default settings for the account based on the email domain.
Create account with custom mail servers. POST api/2.0/mail/accounts Creates account using full information about mail servers.
Create OAuth account POST api/2.0/mail/accounts/oauth Creates Mail account with OAuth authentication. Only Google OAuth supported.
Create new account by email and password POST api/2.0/mail/accounts/simple Creates an account based on email and password.
Update account PUT api/2.0/mail/accounts Updates the existing account.
Update OAuth account PUT api/2.0/mail/accounts/oauth Update Mail account with OAuth authentication. Only Google OAuth supported.
Set account state PUT api/2.0/mail/accounts/state Sets the state for the account specified in the request
Set default account PUT api/2.0/mail/accounts/default Sets the default account specified in the request
Set account state PUT api/2.0/mail/accounts/emailinfolder Sets the state for the account specified in the request
Update user activity PUT api/2.0/mail/accounts/updateuseractivity UpdateUserActivity
Delete account DELETE api/2.0/mail/accounts Deletes account by email.