---
title: "Turn a kind of email on or off"
description: "Stops or starts one kind of email OpenEmail sends the person."
url: "https://openemail.uk/docs/api/account/email-notification"
area: "API"
category: "Your account"
---

# Turn a kind of email on or off

Stops or starts one kind of email OpenEmail sends the person.

`PUT /account/notifications/email/{category}`

## PUT /account/notifications/email/{category}

Stops or starts one kind of email OpenEmail sends the person.

## Example

Needs `account:write`. `category` is `activity` or `product`, and `enabled` false stops that email. Answers with the notification settings as they are now.

**curl**

```
curl -X PUT "$OE/account/notifications/email/product" -H "$AUTH" \
  -H "Content-Type: application/json" -d '{ "enabled": false }'
```

**Response**

```
{
  "object": "notification_settings",
  "email": [
    { "category": "product", "label": "Product news", "description": "Occasional notes about what is new in OpenEmail.", "required": false, "enabled": false }
  ],
  "mutedWorkspaces": []
}
```

> `account` and `billing` cannot be turned off, and asking to is a 422 `invalid_parameter` on `category`.

## Reference

- [`PUT /account/notifications/email/{category}`](https://openemail.uk/docs/api/reference/your-account#put-account-notifications-email-category): full reference
