Readme
Cousin Val to @petermillspaugh/emailSubscription.
Process for sending out a newsletter:
- Publish newsletter on the Web
- Fork and update monthly newsletter Val like january2024
- Add new newsletter to this list Val
- 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.