[DOCS] Fix watcher email action docs (#44877)

This commit is contained in:
Alison Goryachev 2019-08-02 13:58:44 -04:00 committed by Alison Goryachev
parent 09bd6c4692
commit b607148ae9
1 changed files with 4 additions and 6 deletions

View File

@ -202,17 +202,15 @@ For more information, see
to specify either the text or the html body or both (using to specify either the text or the html body or both (using
the fields below) the fields below)
| `body.text` | yes | - | The plain text body of the email. The body can be static text | `body.text` | no | - | The plain text body of the email. The body can be static text
or contain Mustache <<templates, templates>>. The email `body` or contain Mustache <<templates, templates>>.
must contain at least one `text` or `html` field.
| `body.html` | yes | - | The html body of the email. The body can be static text or | `body.html` | no | - | The html body of the email. The body can be static text or
contain Mustache <<templates, templates>>. This body will be contain Mustache <<templates, templates>>. This body will be
sanitized to remove dangerous content such as scripts. This sanitized to remove dangerous content such as scripts. This
behavior can be disabled by setting behavior can be disabled by setting
`xpack.notification.email.html.sanitization.enabled: false` in `xpack.notification.email.html.sanitization.enabled: false` in
`elasticsearch.yaml`. The email `body` must contain at least `elasticsearch.yaml`.
one `text` or `html` field.
| `priority` | no | - | The priority of this email. Valid values are: `lowest`, `low`, | `priority` | no | - | The priority of this email. Valid values are: `lowest`, `low`,
`normal`, `high` and `highest`. The priority can contain a `normal`, `high` and `highest`. The priority can contain a