CreateEmailAction is an input datatype for creating an email action. It's used by the createEmailAction mutation field.

Table: CreateEmailAction

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For return datatypes, this indicates that you must specify which fields you want returned in the results.
Table last updated: Mar 25, 2026
attachCsvstring falseLong-TermWhether the result set should be attached as a CSV file.
bodyTemplatestring  Long-TermThe body of the email. Can be templated with values from the result.
labels[string]  Long-TermA set of labels by which to categorize the action.
namestringyes Long-TermThe name of the action.
recipients[string]yes Long-TermA list of email addresses where to send an email.
subjectTemplatestring  Long-TermThe subject of the email. Can be templated with values from the result.
useProxybooleanyes Long-TermWhether the action should use the configured proxy to make web requests.
viewNamestringyes Long-TermThe name of the view or repository to which the action is attached.