# Read the workspace's automated emails

Which system mails this service still sends about the workspace's deals — facility status, the four submission notices, SBA readiness and the merchant decline notice — with each one's subject prefix and introduction, plus the sender name and reply-to they go out under. Every kind is always present, so this is the list of what a workspace can switch off as well as what it has. Never 404s: an untouched workspace reads the defaults, which are all on.

Access class: `workspace`.

## Endpoint

`GET /v1/workspace/automated-emails`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "emails": {
      "facility_status": {
        "enabled": true,
        "introduction": "string",
        "subject_prefix": "string"
      },
      "merchant_decline": {
        "enabled": true,
        "introduction": "string",
        "subject_prefix": "string"
      },
      "submission_contracts": {
        "enabled": true,
        "introduction": "string",
        "subject_prefix": "string"
      },
      "submission_decision": {
        "enabled": true,
        "introduction": "string",
        "subject_prefix": "string"
      },
      "submission_funding": {
        "enabled": true,
        "introduction": "string",
        "subject_prefix": "string"
      },
      "submission_missing_info": {
        "enabled": true,
        "introduction": "string",
        "subject_prefix": "string"
      },
      "term_loan_readiness": {
        "enabled": true,
        "introduction": "string",
        "subject_prefix": "string"
      }
    },
    "sender": {
      "name": "string",
      "reply_to": "string"
    }
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
