---
title: "Transaktions-E-Mail senden | Tajo"
description: "Automatisierte Transaktions-E-Mails über Brevos API senden – für Customer-Loyalty-Engagement"
url: https://tajo.io/de/docs/messaging-api/transactional-emails/send-transactional-email/
markdown: https://tajo.io/de/docs/messaging-api/transactional-emails/send-transactional-email.md
lang: de-DE
author: "Set Noa"
author_url: https://tajo.io/de/set-noa/
robots: noindex
---

Beantrage frühzeitigen Zugang

Gib deinen Vornamen und deine geschäftliche E-Mail-Adresse ein. Wir senden dir einen Link, mit dem du deine Anfrage für den Tajo-Zugang bestätigst.

# Transaktions-E-Mail senden

[Set Noa](https://tajo.io/de/set-noa/)

Versende personalisierte Transaktions-E-Mails an deine Kund:innen – für Updates im Loyalty-Programm, Bestellbestätigungen, Prämienbenachrichtigungen und Engagement-Kampagnen.

## Schnellstart

### Grundlegende E-Mail-Anfrage

```http
POST https://api.brevo.com/v3/smtp/email
Content-Type: application/json
api-key: YOUR_API_KEY

{
  "sender": {
    "name": "Tajo Loyalty",
    "email": "loyalty@yourdomain.com"
  },
  "to": [
    {
      "email": "customer@example.com",
      "name": "Customer Name"
    }
  ],
  "subject": "Your loyalty points have been updated!",
  "htmlContent": "<h1>Loyalty Update</h1><p>You earned 100 points from your recent purchase!</p>",
  "textContent": "Loyalty Update: You earned 100 points from your recent purchase!"
}
```

### Antwort

```json
{
  "messageId": "<202301021030.5678901234@domain.com>"
}
```

## Anwendungsfälle im Loyalty-Programm

### Willkommens-E-Mail für Neukund:innen

```json
{
  "sender": {
    "name": "Tajo Loyalty Program",
    "email": "welcome@yourdomain.com"
  },
  "to": [
    {
      "email": "{{params.email}}",
      "name": "{{params.name}}"
    }
  ],
  "templateId": 1,
  "params": {
    "name": "John Doe",
    "email": "john@example.com",
    "welcomeBonus": "500",
    "loyaltyTier": "Bronze"
  }
}
```

### Punktestand-Aktualisierung

```json
{
  "subject": "Points Balance Update - {{params.pointsEarned}} Points Added",
  "params": {
    "customerName": "John Doe",
    "pointsEarned": "150",
    "totalPoints": "1,250",
    "transactionType": "Purchase",
    "orderNumber": "ORD-2024-001"
  }
}
```

### Bestätigung einer Prämieneinlösung

```json
{
  "subject": "Reward Redeemed Successfully",
  "params": {
    "rewardName": "10% Off Next Purchase",
    "pointsUsed": "1000",
    "remainingPoints": "250",
    "couponCode": "SAVE10NOW",
    "expiryDate": "2024-03-15"
  }
}
```

## Parameter

| Parameter | Typ | Erforderlich | Beschreibung |
| --- | --- | --- | --- |
| `sender` | Object | Ja | Absender-Informationen |
| `to` | Array | Ja | Empfänger:innen-Liste (max. 50) |
| `subject` | String | Ja | Betreffzeile der E-Mail |
| `htmlContent` | String | Nein | HTML-Inhalt der E-Mail |
| `textContent` | String | Nein | Textinhalt der E-Mail |
| `templateId` | Integer | Nein | Template-ID (Alternative zum Inhalt) |
| `params` | Object | Nein | Template-Parameter |
| `headers` | Object | Nein | Eigene Header |
| `attachment` | Array | Nein | Datei-Anhänge |

## Erweiterte Funktionen für Tajo

### Kund:innen-Segmentierung

```json
{
  "to": [
    {
      "email": "premium@example.com",
      "name": "Premium Customer"
    }
  ],
  "params": {
    "loyaltyTier": "Premium",
    "personalizedOffers": [
      "Exclusive 20% off luxury items",
      "Free premium shipping"
    ]
  }
}
```

### A/B-Testing-Setup

```json
{
  "subject": "{{params.subjectVariant}}",
  "params": {
    "subjectVariant": "Limited Time: Double Points Weekend!",
    "contentVariant": "premium",
    "testGroup": "A"
  }
}
```

## Fehlerbehandlung

```json
{
  "code": "invalid_parameter",
  "message": "Email address is invalid",
  "details": {
    "field": "to[0].email",
    "value": "invalid-email"
  }
}
```

## Nächste Schritte

- E-Mail-Templates einrichten
- SMS-Integration konfigurieren
- E-Mail-Events verfolgen
- Loyalty-Programm-Integration
