Email Sending

Reach your players beyond the game with transactional email

Get Started Free

Your SMTP, Your Brand

Emails come from your domain. horizOn never sends on your behalf -- you keep full control over deliverability and branding.

Template Engine with Variables

Create reusable HTML templates with placeholders like {{username}} or {{eventTime}}. Supports up to 15 languages with translation support.

Immediate or Scheduled Delivery

Send emails instantly or schedule them for later. Cancel scheduled emails anytime via the API before they are delivered.

Built for Game Events

Tournament alerts, purchase confirmations, inactivity nudges, welcome emails. One API call triggers the entire flow.

Quick Integration

Quick Integration

Unity (C#)
// Unity C#: Email Sending
using System;
using System.Collections.Generic;
using PM.horizOn.Cloud.Manager;

var mail = EmailSendingManager.Instance;
string userId = UserManager.Instance.CurrentUser.UserId;

// Send now to a registered player
var sent = await mail.SendEmail(userId, "welcome",
    new Dictionary<string, string> { ["username"] = "PlayerOne" }, "en");

// Schedule a reminder for tomorrow, then cancel it
var reminder = await mail.SendEmail(userId, "appointment_reminder",
    new Dictionary<string, string> { ["appointmentName"] = "Dentist" }, "en",
    DateTime.UtcNow.AddDays(1));
if (reminder != null) await mail.CancelEmail(reminder.id);
REST
# REST API: Email Sending

# Send an immediate email
curl -X POST https://horizon.pm/api/v1/app/email-sending/send \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "userId": "USER_ID",
    "templateSlug": "welcome",
    "language": "en",
    "variables": { "username": "PlayerOne" }
  }'

# Schedule an email for later
curl -X POST https://horizon.pm/api/v1/app/email-sending/send \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "userId": "USER_ID",
    "templateSlug": "appointment_reminder",
    "language": "en",
    "variables": { "appointmentName": "Dentist", "appointmentTime": "14:00" },
    "scheduledAt": "2026-04-12T14:00:00Z"
  }'

# Cancel a scheduled email
curl -X DELETE https://horizon.pm/api/v1/app/email-sending/EMAIL_ID \
  -H "X-API-Key: YOUR_API_KEY"

These examples use the Unity SDK (C#) and the REST API. Godot and Unreal have the same calls in their own SDKs: see the quickstart

Frequently Asked Questions

Frequently Asked Questions

Ready to Integrate?

Start building with horizOn today. Free tier included.