# EmailHistory

Type: object

Schema: [EmailHistory](https://sourcey-gauzy.pages.dev/api-reference/models/emailhistory/index.md)

- `deletedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `createdAt` (optional)
  Type: string, date-time
  
  The creation timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `updatedAt` (optional)
  Type: string, date-time
  
  The last update timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `id` (optional)
  Type: string

- `isActive` (optional)
  Type: boolean
  
  default: true

- `isArchived` (optional)
  Type: boolean
  
  default: false

- `archivedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `tenantId` (optional)
  Type: string

- `organizationId` (optional)
  Type: string

- `name` (optional)
  Type: string

- `content` (optional)
  Type: string

- `email` (required)
  Type: string

- `status` (optional)
  Type: string
  
  enum: ["SENT","FAILED"]

- `user` (required)
  Reference: [User](https://sourcey-gauzy.pages.dev/api-reference/models/user/index.md); Type: object

- `userId` (optional)
  Type: string

- `emailTemplate` (required)
  Reference: [EmailTemplate](https://sourcey-gauzy.pages.dev/api-reference/models/emailtemplate/index.md); Type: object

- `emailTemplateId` (required)
  Type: string