Skip to content
Byte Labs

Lifecycle email that knows what a customer bought

A direct-to-consumer brand’s marketing email had no connection to its orders, so customers who had just bought kept being asked to buy. We rebuilt it around the order record.

Client
Direct-to-consumer brand
Sector
E-commerce
Services
Email automation, consent, attribution
Year
2026
The email flow builder: an abandoned-cart sequence drawn as a flow, a preview of one email, the send rules and the send queue.
Interface shown with sample data.

The challenge

The brand’s email ran on a separate tool that knew nothing about orders. A customer could buy in the morning and receive a reminder to buy that afternoon.

Consent was not being recorded properly, and there was no way to tell which email had led to a sale.

What we built

An email system that lives inside the store and reads the order record before it sends anything.

  • Every send is checked first: unsubscribes, opt-in, preferences and recent orders.
  • Abandoned carts get a three-step sequence that stops the moment the customer buys.
  • If a provider goes down, mail is delayed and retried, never lost.
  • Every consent change is written to a permanent log.
  • Each sale is traced to the email that prompted it.

The result

  • A customer who buys stops being asked to buy.
  • Revenue is attributed to the specific email that earned it.
  • Consent is a record the brand can produce on request.

A Byte Labs client engagement. The client’s name is withheld.