# Send Email

> Perform Send Email through GenHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/gen-health/send_email](https://genhealth.ai/docs/workflows/integrations/gen-health/send_email)

Integration: [GenHealth](https://genhealth.ai/docs/workflows/integrations/gen-health.md)

- Handler: `send_email`

## Inputs

- `to` — To (text)
  Optional text value.
- `subject` — Subject (text)
  Optional text value.
- `body` — Body (textarea)
  Optional text value.
- `cc` — Cc (text)
  Optional text value.
- `html` — Html (boolean)
  Optional true-or-false value.
  Default: `"false"`
- `from_email` — From Email (text)
  Optional text value.
- `attachment_document_ids` — Attachment Document Ids (expression)
  Optional literal value or workflow expression.
- `attachment_paths` — Attachment Paths (text)
  Optional text value.
- `reply_to_thread_id` — Reply To Thread Id (expression)
  Optional literal value or workflow expression.
- `reply_to_message_id` — Reply To Message Id (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `message_id` — Message Id
- `recipients` — Recipients
- `error` — Error

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

```json
{
  "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

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "message_id": {},
    "recipients": {}
  },
  "additionalProperties": true
}
```
