You can use an application program interface (API), which includes:
Yandex.Mail for Domains API. This is designed to manage the domain as a whole, mailboxes and authorization of users, as well as mailing lists.
DNS API. This is designed to manage your domain's DNS.
API for hosters, registrars and domain parkers. This enables hosting providers, registrars and domain parkers to connect the domains of their users to Yandex.Mail.