Readme

Val Town email subscriptions: newsletters

Cousin Val to @petermillspaugh/emailSubscription.

Process for sending out a newsletter:

  1. Publish newsletter on the Web
  2. Fork and update monthly newsletter Val like january2024
  3. Add new newsletter to this list Val
  4. sendEmailNewsletter cron val will attempt to send latest newsletter on the first of the month
1
2
3
4
5
import { getJanuary2024Newsletter } from "https://esm.town/v/petermillspaugh/january2024";
export const newsletters = [
getJanuary2024Newsletter(),
];
👆 This is a val. Vals are TypeScript snippets of code, written in the browser and run on our servers. Create scheduled functions, email yourself, and persist small pieces of data — all from the browser.