Documentation sections
Email#
System email (confirmations, notices) and marketing mailings. These are different purposes with their own routes: system and marketing email are set up independently.
What is in the code
| Module | Purpose | Status |
|---|---|---|
SMTPsmtp | Sends service email to players (confirmations, receipts, notices) through any SMTP server. | adapter exists, not connected |
Bulk email vendoremail_marketing_esp | Campaigns and triggered mailings with templates, unsubscribe handling and delivery statistics (for example SendGrid, Mailgun, Customer.io). | not connected, planned |
What a connection needs
- SMTP
smtp - An SMTP server or mail service account: host, port, security mode, a sender address on a domain with SPF and DKIM set up, and a username and password if the server requires them.
Fields in the interface:host,port,security,from_address,from_name; secrets:username,password - Bulk email vendor
email_marketing_esp - A contract with the vendor, the API URL and keys. The connector is not built yet.
Vendors and alternatives
| Vendor | How it connects | Status |
|---|---|---|
| Customer.io | Track API, App API, webhook | adapter exists, not connected |
| SendGrid (Twilio) | SMTP and REST | adapter exists, not connected |
| Mailgun (Sinch) | SMTP and REST | adapter exists, not connected |
| Smartico | REST, webhook, widgets | alternative, not chosen |
| Optimove | API, connectors | adapter exists, not connected |
The vendor review: vendors are named as options. These are not partnerships or agreements: the status not connected means exactly that.
SMS, push and Telegram#
Codes, notices and bringing players back. SMS, push and messengers go over different channels and are routed separately.
What is in the code
| Module | Purpose | Status |
|---|---|---|
HTTP SMS gatewaysms_http | Sends one-time codes and notices by SMS through any vendor that accepts a plain HTTP request. | adapter exists, not connected |
Telegramtelegram_bot | Sends notices and alerts to a Telegram chat through our own bot. | adapter exists, not connected |
Browser pushweb_push | Notifications to a player's browser once they opt in (for example OneSignal or our own Web Push service). | not connected, planned |
Mobile push (FCM and APNs)mobile_push | Notifications to phone apps through Firebase Cloud Messaging and Apple Push Notification service. | not connected, planned |
What a connection needs
- HTTP SMS gateway
sms_http - A contract with an SMS vendor; the gateway URL, the request format from its docs (method, JSON or form, field names), an approved sender ID and an API key.
Fields in the interface:url,method,payload_format,recipient_field,text_field,sender_field,sender_id,success_status; secrets:api_key - Telegram
telegram_bot - A bot created with @BotFather (token). The recipient opens the bot and sends /start so the chat ID is known.
Fields in the interface: ; secrets:bot_token - Browser push
web_push - A contract with the vendor, the API URL and keys. The connector is not built yet.
- Mobile push (FCM and APNs)
mobile_push - A contract with the vendor, the API URL and keys. The connector is not built yet. A mobile app is needed first.
Vendors and alternatives
| Vendor | How it connects | Status |
|---|---|---|
| Wavix | REST v3, webhook | adapter exists, not connected |
| 23 Telecom | REST OpenAPI, webhook | adapter exists, not connected |
| Twilio | REST, webhook | adapter exists, not connected |
| OneSignal | REST, SDK | adapter exists, not connected |
| Firebase Cloud Messaging / APNs | FCM HTTP v1, APNs | adapter exists, not connected |
The vendor review: vendors are named as options. These are not partnerships or agreements: the status not connected means exactly that.