# PATCH /email/configs/:config_id

**Resource:** [Email](./email.md)  
**MCP tool:** `update_email_config`  
**Scopes:** `email-config:write`  
**Write operation:** yes

Update an email config. To send from your own verified domain, pass from_email_handle (local-part) + from_email_domain (a verified sending domain). Set preferred_provider to choose the workspace rail.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `config_id` | path | string | yes |  |
| `from_name` | body | string | no |  |
| `reply_to` | body | string | no |  |
| `staff_email` | body | string | no |  |
| `from_email_handle` | body | string | no | Local-part of the sender address (before the @). With no from_email_domain it composes <handle>@mail.trustpager.net. |
| `from_email_domain` | body | string | no | A verified sending domain for this workspace (see list_sending_domains). Composes from_email = <handle>@<domain>, e.g. support@yourcompany.com. Must be verified first. |
| `preferred_provider` | body | string | no | Default Workspace Email Address rail: "trustpager_mail" (send via your verified domain, never expires) or "gmail" (send via connected Team Gmail). |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/email/configs/:config_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"from_name":"...","reply_to":"...","staff_email":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`