> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mailofly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send Email

> Send a transactional email.

Dispatches a single transactional email to one or more recipients.

### Headers

<ParamField header="Authorization" type="string" required>
  Bearer token formatted as `Bearer mfly_live_...`
</ParamField>

### Body

<ParamField body="from" type="string" required>
  Sender address, e.g. `Acme <hello@acme.com>`. Must match a verified domain.
</ParamField>

<ParamField body="to" type="string[]" required>
  List of recipient email addresses (up to 50).
</ParamField>

<ParamField body="subject" type="string" required>
  Email subject line.
</ParamField>

<ParamField body="html" type="string">
  HTML message body.
</ParamField>

<ParamField body="text" type="string">
  Plaintext fallback message.
</ParamField>

<ParamField body="template_id" type="string">
  Optional ID or slug of a pre-configured template.
</ParamField>

<ParamField body="variables" type="object">
  Key-value dictionary of dynamic merge variables.
</ParamField>

### Response

<ResponseField name="id" type="string">
  Unique message identifier (`msg_...`).
</ResponseField>

<ResponseField name="from" type="string">
  Sender address used.
</ResponseField>

<ResponseField name="to" type="string[]">
  Recipient addresses.
</ResponseField>

<ResponseField name="created_at" type="string">
  ISO-8601 timestamp.
</ResponseField>


## Related topics

- [Introduction](/sending/introduction.md)
- [CLI](/cli/index.md)
- [AI onboarding](/getting-started/ai-onboarding.md)
- [MCP Server](/mcp-server/introduction.md)
