# Patchjobemail

A PatchJobEmail element describes an email address that we send patching reports to.

You can set which reports to have sent to the email address:

* progress reports
* the final result report

## Element structure

| Property          | Value type | Required  | Description                                                                     |
| ----------------- | ---------- | --------- | ------------------------------------------------------------------------------- |
| id                | string     | Read-only | Unique identifier of this element                                               |
| email             | string     | Yes       | The email address to send PatchJob reports to                                   |
| progressReport \` | int        | Yes       | Indicates whether to send progress reports to the email address (0: no, 1: yes) |
| resultReport      | int        | Yes       | Indicates whether to send the final report to the email address (0: no, 1: yes) |
| createdAt         | int        | Read-only | A unix timestamp of when this element was created                               |

Table 1: PatchJobEmail element structure

## API example

This element is not created individually, but is included in, and created with the [PatchJob](https://docs.i3d.net/game-hosting/elements/patchjob) element.
