Send Email
Perform Send Email through GenHealth.
send_emailwrite
Inputs
- To
totextOptional text value.
- Subject
subjecttextOptional text value.
- Body
bodytextareaOptional text value.
- Cc
cctextOptional text value.
- Html
htmlbooleanOptional true-or-false value.
Default:
"false" - From Email
from_emailtextOptional text value.
- Attachment Document Ids
attachment_document_idsexpressionOptional literal value or workflow expression.
- Attachment Paths
attachment_pathstextOptional text value.
- Reply To Thread Id
reply_to_thread_idexpressionOptional literal value or workflow expression.
- Reply To Message Id
reply_to_message_idexpressionOptional literal value or workflow expression.
Outputs
successSuccessmessage_idMessage IdrecipientsRecipientserrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"properties": {
"cc": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"to": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"body": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "textarea"
},
"html": {
"type": "boolean",
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"subject": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"from_email": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"attachment_paths": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"reply_to_thread_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"reply_to_message_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"attachment_document_ids": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"message_id": {},
"recipients": {}
},
"additionalProperties": true
}