Email Marketing

Build personalized campaigns using your website's data and Server Script

Write Smart Email Campaigns with Server Script and Native AI

In Kooboo, email marketing is entirely AI-driven and deeply integrated with Server Script. Instead of manually mapping fields or building static templates, you write dynamic campaigns with the full power of a web application while AI creates targeted, hyper-personalized copy for every single recipient.

Kooboo AI Email Builder and Server Script Editor Interface
User has options to use different editor when creating the campaign
AI write all the code and contents
AI write all the code and contents
WYSIWYG editor to edit any HTML email
WYSIWYG editor to edit any HTML email

Because Kooboo runs your email system inside the same engine that powers your website, Server Script can query live site data, evaluate custom business logic, and generate custom content on the fly before sending.

<h1>Hello, <span k-content="Contact.Name">customer</span></h1>

<p>We selected these AI-driven recommendations for your account:</p>

<script env="server">
  // Execute Server Script during email generation.
  // Fetch real-time DB records, run AI logic, and bind dynamic content per recipient.
var item = k.DB.Sqlite.userTable.get(Contact.email);

</script>

The Server Script runs safely on Kooboo’s server prior to delivery, so recipients receive clean, fully rendered HTML compatible with any email client.

AI-Powered Email Marketing Built into Your Website Engine

Most email platforms force you to export or sync customer data. You create a list in one system, build templates in another, set up an external integration, and hope data, purchases, and opt-outs stay in sync.

Kooboo takes a fundamentally different approach: If your website already houses your customers, product catalog, orders, and business logic, why host email marketing somewhere else?

Kooboo's native AI handles copywriting, subject line optimization, A/B testing variants, and automated recipient journeys straight out of the box—giving you a complete AI marketing assistant running on your own infrastructure.

One Campaign. Completely Unique Content for Every Recipient.

Traditional personalization replaces basic tokens like Hello {FirstName}. Kooboo processes campaign HTML using its core site rendering engine, crafting a dedicated context for every contact.

  • AI-Generated Copy: Dynamically generate messaging based on customer tier, region, or lifecycle stage.
  • Real-time Recommendations: Pull product catalog data dynamically directly from the database.
  • Dynamic Subject Lines: Craft and evaluate individualized subject lines optimized for higher open rates.
  • Server Script Logic: Calculate, transform, or enrich dynamic data payload before rendering output HTML.

Kooboo doesn't just broadcast one email template to a list; it executes a hyper-personalized campaign individually per recipient.

Your Website Data Is Your Audience Data

With Kooboo, you do not need CSV exports or third-party CRM syncs. Campaigns pull recipients directly from your site’s native storage options:

Data source configuration in Kooboo\
Connect campaigns directly to Kooboo's native text content, database tables, SQLite, MySQL, or SQL Server.
  • Kooboo Structured Content & IndexedDB dynamic tables
  • SQLite & MySQL databases
  • SQL Server and enterprise relational databases

Application Data → Server Script / AI Context → Fully Rendered Email

First-Party Privacy & Data Control

Sending emails through external marketing SaaS platforms creates unnecessary compliance obligations under regulations like the GDPR. Every external vendor adds another subprocessor, data flow, and cross-border transfer issue.

By hosting email marketing directly within Kooboo on your own server or cloud infrastructure, you keep total control over customer consent, campaign analytics, retention policies, and tracking endpoints under your own domain.

First-Party Tracking Without Third-Party Proxies

Unlike traditional marketing tools that route user clicks through external tracking domains, Kooboo resolves dynamic tracking links under your primary domain name, keeping your brand integrity and user data private.

Typical External Platform:
Email client → External Tracker Domain → HTTP Redirect → Website

Kooboo First-Party Route:
Email client → Your Site Domain → Local Page Rendered Directly

AI-Driven Customer Journeys & Automation

Transform broadcasts into reactive, AI-powered automation workflows. Kooboo offers built-in journey blocks for triggers, conditions, delays, dynamic split tests, webhooks, and AI actions.

  • Automatically onboard new members with adaptive email sequences.
  • Send AI-curated product follow-ups based on recent order history.
  • Trigger custom webhooks and Server Scripts as users advance through journeys.

Legal and Technical Reference