# EmailAttributes

Type: object

Schema: [EmailAttributes](https://docs.searchsoftware.nl/api/models/emailattributes.md)

- `subject` (optional)
  Type: string; nullable
  
  Example:
  
  ```json
  "Follow-up"
  ```

- `text` (optional)
  Type: string; nullable
  
  Example:
  
  ```json
  "Plain text email body"
  ```

- `html` (optional)
  Type: string; nullable
  
  Example:
  
  ```json
  "<p>HTML email body</p>"
  ```

- `to` (optional)
  Type: array
  
  Items:
    Reference: [EmailAddress](https://docs.searchsoftware.nl/api/models/emailaddress.md); Type: object

- `from` (optional)
  Type: array
  
  Items:
    Reference: [EmailAddress](https://docs.searchsoftware.nl/api/models/emailaddress.md); Type: object

- `cc` (optional)
  Type: array
  
  Items:
    Reference: [EmailAddress](https://docs.searchsoftware.nl/api/models/emailaddress.md); Type: object

- `bcc` (optional)
  Type: array
  
  Items:
    Reference: [EmailAddress](https://docs.searchsoftware.nl/api/models/emailaddress.md); Type: object

- `labels` (optional)
  Type: array
  
  Items:
    Type: string
    
    Example:
    
    ```json
    "inbox"
    ```

- `message_id` (optional)
  Type: string; nullable
  
  Example:
  
  ```json
  "<message@example.com>"
  ```

- `user_id` (optional)
  Type: string; nullable
  
  Identifier
  
  Example:
  
  ```json
  "vM7Lp2q"
  ```

- `is_private` (optional)
  Type: boolean
  
  Example:
  
  ```json
  false
  ```

- `is_read` (optional)
  Type: boolean
  
  Example:
  
  ```json
  false
  ```

- `is_archived` (optional)
  Type: boolean
  
  Example:
  
  ```json
  false
  ```

- `sent_at` (optional)
  Type: string, date-time; nullable
  
  Example:
  
  ```json
  "2026-03-10T14:30:00Z"
  ```

- `attachments` (optional)
  Type: array
  
  Items:
    Reference: [EmailAttachment](https://docs.searchsoftware.nl/api/models/emailattachment.md); Type: object