# remove_site_email_domain

Source: https://modulify.ai/docs/mcp/emails/remove-site-email-domain

Removes an email domain from a site, so the site stops sending from it and mail sent to it is no longer forwarded.

- Title: Remove an email domain from a site
- Scope: `config:write`
- Access: Destructive

When the site sends from the domain, sending goes back to the built-in address at once, and mail sent to the domain is no longer forwarded, even while its MX record still points here. Its DNS records can be deleted at the DNS host afterwards, and adding the domain again later starts its verification over with a new ownership record.

The tool tells the client to always confirm with you first. It needs the **Manage domains** permission and works on every plan, a [paused](https://modulify.ai/docs/automations/emails#when-your-plan-ends) domain included. See [Remove a domain](https://modulify.ai/docs/automations/emails#remove-a-domain).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |
| `domainId` | string | Yes | The id of the email domain, from `emailDomains.items` in `get_site_email_settings`. |