---
title: "WorkspaceEmailConfig"
description: "The `WorkspaceEmailConfig` entity."
section: "Reference"
group: "Types"
order: 281
---

## Definition

```ts
interface WorkspaceEmailConfig {
  maxBytes?: number | undefined;
  allowedSenders?: Array<string> | undefined;
}
```

## Fields

| Field            | Type                         | Notes                                                                      |
| ---------------- | ---------------------------- | -------------------------------------------------------------------------- |
| `maxBytes`       | `number \| undefined`        | `optional` — Hard cap on raw .eml size (bytes). Defaults to 10 MB.         |
| `allowedSenders` | `Array<string> \| undefined` | `optional` — Allowlist of sender addresses or domains. Omit to accept all. |
