TestEmailAction is an input datatype for testing an email action. It's used by the testEmailAction() mutation field.

Table: TestEmailAction

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
attachCsvBoolean    Whether the result set should be attached as a CSV file.
bodyTemplateString    Body of the email. Can be templated with values from the result.
eventDataStringyes   JSON data representing zero or more events. One event can be supplied as a JSON object. Multiple events must be supplied as a list of JSON objects.
nameStringyes   Name of the action.
recipientsStringyes   List of email recipients. Each entry can be an email address or contain a message template (e.g. {field:email} or {field:username}@example.com) that resolves at trigger time. See https://library.humio.com/data-analysis/automated-actions-message-template.html for available templates. Warning: when using message templates, ensure your query is scoped so that recipients only receive events relevant to them.
subjectTemplateString    Subject of the email. Can be templated with values from the result.
triggerNameStringyes   Name of the action. This is a mock value, the trigger does not have to exist.
useProxyBooleanyes   Defines whether the action should use the configured HTTP proxy to send requests.
viewNameStringyes   Name of the view of the action.