> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Introduction

## Article: Introduction

## Article Link: https://dev.wix.com/docs/api-reference/account-level/domains/mailbox-providers/introduction.md

## Article Content:

# About the Mailbox Providers API

The Mailbox Providers API lets you retrieve the email providers that can be
connected to a domain, such as Google Workspace and Microsoft 365. Use it to
let Wix users choose an email provider for their domain, and to show them the
DNS records the provider needs before they connect it.

With the Mailbox Providers API, you can:

- Retrieve the email providers that can be connected to a domain.
- Preview the DNS records that each email provider adds to the domain's DNS zone.

To connect an email provider to a domain or disconnect it, use
[Add Mailbox Records](https://dev.wix.com/docs/api-reference/account-level/domains/domain-dns/add-mailbox-records.md)
and [Delete Mailbox Records](https://dev.wix.com/docs/api-reference/account-level/domains/domain-dns/delete-mailbox-records.md)
in the [Domain DNS API](https://dev.wix.com/docs/api-reference/account-level/domains/domain-dns/introduction.md).
To connect an external domain to a Wix site, use the
[Connected Domains API](https://dev.wix.com/docs/api-reference/account-level/domains/connected-domains/introduction.md).

## Before you begin

It's important to note the following points before starting to code:

- The Mailbox Providers API is accessible with API keys. You can't access this
  API with the standard authorization header. We recommend authenticating calls
  with an API key for your main account instead of a key for the relevant child
  account.
- Each email provider's records are generated for the domain you specify, so
  call [List Mailbox Providers](https://dev.wix.com/docs/api-reference/account-level/domains/mailbox-providers/list-mailbox-providers.md)
  for each domain rather than reusing the records from another domain.
- Retrieve email provider IDs with List Mailbox Providers rather than
  hard-coding them.
- The list always includes the `Other` provider, which has no records. It
  represents an email provider that isn't listed. To connect such a provider,
  call Add Mailbox Records with `customMailbox` and the provider's records.
- Mailbox records can be added only to root domains, such as `example.com`.

## Use cases

- [Let a user choose an email provider for their domain](https://dev.wix.com/docs/api-reference/account-level/domains/mailbox-providers/sample-flows.md#let-a-user-choose-an-email-provider-for-their-domain)
- [Connect an email provider that isn't listed](https://dev.wix.com/docs/api-reference/account-level/domains/mailbox-providers/sample-flows.md#connect-an-email-provider-that-isnt-listed)

## Terminology

- **Email provider**: A service that hosts email for a domain, such as Google Workspace.
- **Mailbox records**: The DNS records that route a domain's email to an email
  provider. Mainly `MX` records, plus any `CNAME`, `TXT`, or `SRV` records the
  provider needs.
- **DNS zone**: The set of DNS records for a domain. Managed with the
  [Domain DNS API](https://dev.wix.com/docs/api-reference/account-level/domains/domain-dns/introduction.md).
- **Root domain**: A domain name without a subdomain. For example, `example.com`
  rather than `mail.example.com`.


