The EmailAction datatype includes various settings.

Table: EmailAction

ParameterTypeRequired[a]DefaultDescription
recipients[string]yes List of email addresses to send an email.
subjectTemplatestring  Subject of the email. Can be templated with values from the result.
bodyTemplatestring  Body of the email. Can be templated with values from the result.
useProxybooleanyes Defines whether the action should use the configured proxy to make web requests.
attachCsvbooleanyes Whether the result set should be be attached as a CSV file.
namestringyes The name of the action.
displayNamestringyes The display name of the action.
idstringyes The unique identifier of the action.
yamlTemplateYAMLyes A template that can be used to recreate the action.
packagePackageInstallationyes The package, if any, of which the action is part (see PackageInstallation Table).

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.