> ## 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.

# Email types

# Email types

Mailofly supports two ways to send. Pick the one that matches your use case.

***

## Transactional (Compose)

One-off messages triggered by your product:

* Welcome emails
* Password resets
* Receipts and alerts
* Notifications

**How:** Compose in the app, or `POST /v1/emails` / SDK `emails.send`.

You only need:

1. An [API key](api-keys.md)
2. Optional [account key](sending-accounts.md) (`acc_…`) to pin a sending account
3. Recipients (`to` addresses or template variables)

→ [Sending examples](sending-examples.md) · [Node.js quickstart](nodejs.md)

***

## Marketing (Campaigns)

Audience-based sends managed in the dashboard:

* Newsletters
* Product updates
* Drip / recurring automation

**How:** Segment + Template → Campaign → Send (or schedule).

→ [Campaigns guide](https://docs.mailofly.com/guides/campaigns)

***

## Quick comparison

|          | Compose                                           | Campaigns               |
| -------- | ------------------------------------------------- | ----------------------- |
| Trigger  | Your code / one-off UI                            | Schedule or manual send |
| Audience | Explicit emails or contact IDs                    | Segment                 |
| Best for | Transactional                                     | Marketing               |
| API      | `/v1/emails` (single), `/v1/emails/batch` (array) | `/v1/campaigns`         |


## Related topics

- [Introduction](/api/index.md)
- [Nodejs](/getting-started/nodejs.md)
- [Event types](/webhooks/event-types.md)
- [Email Bounces](/sending/email-bounces.md)
