# Marketing email

> Manage contacts, topics and segments and send campaigns to people who opted in.

Source: https://daster.io/docs/messaging/marketing-email/ · Last updated: 2026-11-21

Marketing email works once [App email](https://daster.io/docs/messaging/app-email/) is on in the project. Open **Marketing email**. Its tabs are **Campaigns**, **Automations**, **Events**, **Contacts**, **Segments**, **Properties** and **Topics & unsubscribes**.

## Contacts and topics

A **topic** is an audience your contacts subscribe to.

- **Add** a contact with their consent and topics; **Edit**, **Unsubscribe**, **Suppress** and **Unsuppress** them.
- **Import** a CSV of contacts. You must tick the consent box; the import is refused without it. An import never resubscribes someone who unsubscribed, bounced or complained.
- Create topics and give them a description on **Topics & unsubscribes**.

## Segments

A segment selects contacts by conditions: plan, first name, or a property that **is**, **is not** or **contains** a value, and one topic they are subscribed to.

## Campaigns

1. Create a campaign draft and edit its details and content in the visual editor.
2. **Send a test** to your own address.
3. **Send** it, or **Schedule** it.
4. While it runs you can **Pause**, **Resume** or **Cancel** it. **Resume failed** retries recipients that failed. **Duplicate** copies a campaign.

Content can use `{{first_name}}`, `{{last_name}}`, `{{email}}` and `{{unsubscribe_url}}`. Every campaign email carries an unsubscribe link and a `List-Unsubscribe` header; the next send skips people who used it.

Each recipient counts against the [App email limits](https://daster.io/docs/messaging/app-email/). A campaign that reaches a limit is paused with "Stopped at the email limit"; **Resume** continues it.

> **Note:** The Dashboard sends a campaign's emails, about one a second, while the campaign's page is open. Keep it open until the campaign finishes. A scheduled campaign does not start on its own yet.

## Properties

A property holds an extra fact about a contact, such as `company` or `seats`. Create it on **Properties** with a key, a type (text, number, true or false, or a date such as `2026-11-01`) and an optional fallback used in emails when a contact has no value. Use it in content as `{{company}}`.

- `email`, `first_name` and `plan` are built in and can't be changed.
- A value you set for a contact must have the property's type.
- You can't delete a property that a segment or an automation uses; DASTER tells you which ones.

## Events

An event is something your app tells DASTER about a contact, such as `user.signed_up`. Add it on **Events** with the properties it carries and their types. Your server sends it with a project key that has the `email:events` scope:

```http
POST /v1/projects/{projectId}/communications/email/app-events
Authorization: Bearer daster_sk_…
Idempotency-Key: signup-1234

{ "event": "user.signed_up", "email": "maria@example.com", "properties": { "plan": "pro" } }
```

Use one `Idempotency-Key` per event: sending the same event again with its key starts nothing. **Send test event** uses the same route. The event log on **Events** shows what arrived and which automations started.

## Automations

An automation starts for a contact when your app sends its event, then runs its steps in order:

- **Send email**: a published template from one of your senders.
- **Wait**: from 1 minute to 30 days.
- **Condition**: continue only if a contact field, a property, a property of the event or a topic matches; otherwise the run ends.
- **Wait for event**: wait for another event (optionally with a property value) up to a timeout, then continue or end.
- **Add to segment**, **Update contact** (names, a property, or unsubscribe) and **Delete contact** (only as the last step, and only after you confirm it).

**Save** keeps a draft. **Activate** checks every step first and tells you what to fix. Saving an active automation makes a new version for new runs; runs already in progress keep theirs. **Pause** stops new runs; runs in progress wait where they are. **Recent runs** shows each contact's step and result, and **Retry** continues a failed run from the failed step. **Test run** starts a real run for one subscribed contact.

Only subscribed contacts with consent enter, and a contact already in an automation doesn't enter it again until they finish. Automation email follows the same rules as campaigns: it carries an unsubscribe link, skips suppressed people and counts against the [App email limits](https://daster.io/docs/messaging/app-email/). At a limit the step waits until the limit resets.

Automation steps that are due run every few seconds. **Run due steps now** on an automation runs them at once.

> **Note:** Not available yet: deleting a contact, segment, topic or campaign from the Dashboard; renaming a segment or topic; removing a topic from a contact; the "not subscribed to" condition and the is more than, is less than, is set and is not set conditions in segments; a topic's default and the preference page; a contact's activity.

## With the API

Below `/v1/projects/{projectId}/communications/email` with `?organizationId=…`: `audiences` (topics), `contacts`, `segments`, `imports/execute` (with `consentAttested: true`), and `campaigns` with `{id}/test-send`, `approve`, `pause`, `resume`, `cancel`, `retry-failed` and `duplicate`. Properties, events and automations: `properties`, `event-definitions`, `app-events` (scope `email:events`) and `automations` with `{id}/activate`, `pause`, `duplicate`, `runs` and `runs/{runId}/retry` (scope `email:automations`).
