Skip to content

How an edition is sent

At an edition’s send time, EdgeKit builds it once and hands it to Braze. Braze delivers it to the members of each variant’s delivery segment. On SendGrid, EdgeKit sends each recipient’s copy itself; see SendGrid for how that send differs. A send uses the deployed setup: the variants, channels, segments, feeds and brand of the last deploy, never a later saved change.

  1. Re-check the CMS. For each story a feed would take that is scheduled in your CMS but not yet published, EdgeKit asks your CMS once more. A story the CMS does not answer for in time stays as it was.
  2. Claim the edition. It moves from scheduled to sending, unless it was unscheduled or moved to another time.
  3. Fill the feeds once, for every variant and channel. A story still not published is left out, and recorded with the send.
  4. Render each active variant once, for email and push. Each render is kept with the send and never changes. An edition with nothing in it is skipped, and Braze is not called.
  5. Send through Braze, one call per variant, or two when a variant’s push goes to a different segment from its email.

With the public archive on, the main variant is also rendered for the web and kept as the archive page.

An edition with email experiments compiles them once, at the claim, and every variant’s email uses that copy.

Once per edition, EdgeKit asks Braze for a send id under the publication’s campaign. Then, for each variant, it calls Braze’s /messages/send with:

  • the variant’s delivery segment, sent to the recipients Braze counts as subscribed;
  • the publication’s campaign id, the send id, and the variant’s message variation id for each message, so Braze counts the send under the right campaign and variant;
  • the email: your Braze app id, the sender and reply-to, the subject, the preheader, the HTML body, a plain-text body, and the List-Unsubscribe and List-Unsubscribe-Post headers;
  • the push, for each platform the variant names: title, body, link and image.

The bodies are sent whole with each call. EdgeKit stores no template or content block in Braze. Values that differ per recipient, such as a first name, the unsubscribe link and link parameters taken from the Braze profile, are Braze Liquid that Braze fills in for each recipient. A personalised feed slot adds one call per recipient; see Personalised feeds. With an email experiment, the subject, preheader and body that vary by arm also carry the Liquid that works out each recipient’s arm.

Who is in each segment is Braze’s. EdgeKit cannot see it, so it cannot tell when two variants’ segments overlap.

Braze has no way to recognise a repeated call, so EdgeKit never repeats one on its own.

Send state Meaning
Pending Rendered, not sent yet.
Sending Recorded before the call to Braze.
Sent Braze answered with success.
Failed Braze refused it, or something failed before the call. Nothing went out.
Unknown A timeout, a network failure or a Braze server error. Braze may or may not have sent it.

A failed or unknown send is never retried automatically. Fix the cause, then use Force resend on the edition. Resending an unknown send may deliver it twice. See Edition states.

The edition is sent when every send succeeded, failed when none did, and partially sent otherwise. A push that nothing fills at the send fails on its own, and the email still goes.

An edition fails to send, with the reason named on its sends, when its list is no longer deployed, when a variant’s template no longer exists, or when EdgeKit holds no unsubscribe link key for your organization. It also fails when the deployed configuration holds no publications, which can follow an EdgeKit rollback: Publications are missing from the deployed document; stage and deploy. The next deploy fixes it.

Every email edition carries EdgeKit’s own unsubscribe link, never Braze’s. Your lists live in EdgeKit, and an unsubscribe recorded only in Braze would be undone by the next sync. See Sync to Braze.

The link points at /v1/newsletters/unsubscribe on your tenant host. It names the recipient, the list and the edition, and carries a signature over the recipient and the list. On Braze the recipient is their profile’s external_id and braze_id, and Braze computes the signature for each recipient. On SendGrid the recipient is their EdgeKit user id, and EdgeKit signs the link at the send, over their email address too. The link never expires. A Braze link in an edition sent before 23 November 2026 was signed over the email address instead, and is ignored.

  • GET shows EdgeKit’s page in the publication’s language, with your site’s name. It uses the publication’s brand, or the site’s deployed brand when the publication has none. It offers every newsletter on the site, with the link’s own list ticked. It changes nothing, so a mail scanner that opens the link unsubscribes nobody.
  • The page’s button sends POST for the lists left ticked, up to 50.
  • A mail client’s one-click unsubscribe sends POST for the link’s own list, as RFC 8058 describes.

A POST answers 200 once the request is queued, before the signature is checked. EdgeKit then checks the signature from the link alone, without asking Braze for anything. On Braze it finds the user by the link’s external_id, as their EdgeKit user id, then as your own login’s subject. It never matches by email address. It sets the user’s standing on those lists to unsubscribed, and the sync tells Braze or SendGrid. A Braze profile whose external_id is not the one EdgeKit keeps in sync for that user (How profiles are keyed) is also unsubscribed in Braze directly. A profile that matches no user is unsubscribed in Braze only, and no user is created: Braze’s subscription webhooks then tell EdgeKit. The page tells the user it can take a few minutes.

Repeating the same unsubscribe changes nothing. A link with a bad signature, an unknown list or an erased user is ignored. A link missing one of its parts answers 400 bad_request.

Anyone who can read message bodies in your Braze workspace can read the signing key, and so forge unsubscribe links. They can only unsubscribe people. If that happens, ask EdgeKit to change the key: links already sent keep working with the previous key until it is changed again.

edgekit.ai