@suluk/email - v0.2.0
    Preparing search index...

    Function syncNewsletter

    • Reconcile the Newsletter rows to an email-provider audience: a subscribed row is upserted, an unsubscribed row is removed. Drives the audience from your DB (the source of truth), so the two never drift. Returns the tally.

      Parameters

      Returns Promise<SyncResult>