Skip to content

Add Lettermint email sender - #225

Merged
maragubot merged 30 commits into
mainfrom
lettermint-sender
Dec 3, 2026
Merged

maragubot merged 30 commits into
mainfrom
lettermint-sender

Conversation

@maragubot

@maragubot maragubot commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator
  • Adds email/lettermint, a transactional email.Sender for Lettermint (Dutch, EU-hosted), alongside email/postmark, plus the test helper email/letterminttest. It uses plain net/http, refuses redirects, and treats any 2xx as success, even when the response body breaks off. Suppressed recipients are not a special case, because Lettermint returns 202 for them and reports suppression only by webhook.
  • Moves rendering, address encoding, and the per-send rules shared by both senders into email/internal. postmark.Sender behaves as before apart from the breaking changes below.
  • Deletes docs/decisions.md, adds a Memory section to AGENTS.md, and turns off Claude Code auto memory in .claude/settings.json. The diary at docs/diary/2026-12-02-lettermint-sender.md has the full story.

Breaking changes

  • The unsubscribe keyword and Postmark's {{{ pm:unsubscribe }}} placeholder are gone. glue no longer offers a provider-hosted unsubscribe link, so apps own unsubscribe handling. An app layout that still contains {{unsubscribe}} now renders it literally.
  • The dead broadcast/marketing options MarketingEmailAddress and MarketingEmailName are removed from postmark.

Live testing

  • A live test sends through a Lettermint sandbox project, and first checks that the key belongs to one. CI runs it via secret-env: LETTERMINT_KEY and secrets: inherit; the repo and Dependabot secrets are set. The test fails without the key and is skipped only under -short, so PRs from forks will fail it.
  • One real email to Markus's inbox confirmed that non-ASCII display names render correctly.

…d fail it without `LETTERMINT_KEY` instead of skipping
@maragubot
maragubot merged commit 4038f8f into main Dec 3, 2026
3 checks passed
@maragubot
maragubot deleted the lettermint-sender branch December 3, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant