Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
340 commits
Select commit Hold shift + click to select a range
e1967c7
fix(migrate-email): a rate-limit branch skips PostHog's quota_limited
Silthus Nov 4, 2026
f5d6ac7
Merge branch 'feat/migrate-email-sendgrid' into feat/migrate-email-po…
Silthus Nov 4, 2026
32deb28
fix(migrate-email): keep PostHog's code next to the status in SendGri…
Silthus Nov 4, 2026
d45bd95
Merge branch 'feat/migrate-email-sendgrid' into feat/migrate-email-po…
Silthus Nov 4, 2026
ee0a324
fix(migrate-email): one PostHog catch for several provider handlers, …
Silthus Nov 4, 2026
6a7302e
Merge branch 'feat/migrate-email-sendgrid' into feat/migrate-email-po…
Silthus Nov 4, 2026
b5b9fec
fix(migrate-email): a Postmark reactivation also removes the address …
Silthus Nov 4, 2026
6440c0f
fix(migrate-email): mirror a provider's suppression removal only when…
Silthus Nov 4, 2026
9b03cb2
Merge branch 'feat/migrate-email-sendgrid' into feat/migrate-email-po…
Silthus Nov 4, 2026
5c7d4e2
fix(migrate-email): a Postmark reactivation follows Step 5's removal …
Silthus Nov 4, 2026
fd82c65
Merge branch 'feat/migrate-email-sendgrid' into feat/migrate-email-po…
Silthus Nov 4, 2026
c48ef83
fix(migrate-email): a mirrored suppression removal also clears entrie…
Silthus Nov 4, 2026
1141f1e
Merge branch 'feat/migrate-email-sendgrid' into feat/migrate-email-po…
Silthus Nov 4, 2026
9baece4
fix(migrate-email): a template value counts as its declared type, and…
Silthus Nov 4, 2026
d19dd05
fix(migrate-email): a PHP PostmarkMessage sends TrackOpens false unle…
Silthus Nov 4, 2026
127bc07
fix(migrate-email): a template value from unchecked input keeps the s…
Silthus Nov 4, 2026
8bc3253
Merge branch 'feat/migrate-email-sendgrid' into feat/migrate-email-po…
Silthus Nov 4, 2026
eed16c6
fix(migrate-email): record the PostHog key as set only after a check …
Silthus Nov 4, 2026
2d91936
fix(migrate-email): accept spaces around = in the key check
Silthus Nov 4, 2026
f37c460
Merge remote-tracking branch 'origin/feat/migrate-email-resend-cutove…
Silthus Nov 4, 2026
ff46281
Merge branch 'feat/migrate-email-sendgrid' into feat/migrate-email-po…
Silthus Nov 4, 2026
074130e
fix(migrate-email): check the last assignment of the PostHog key
Silthus Nov 4, 2026
9a0f03c
Merge remote-tracking branch 'origin/feat/migrate-email-resend-cutove…
Silthus Nov 4, 2026
5ce31eb
Merge branch 'feat/migrate-email-sendgrid' into feat/migrate-email-po…
Silthus Nov 4, 2026
5c92245
docs(migrate-email): ask for the transactional_email:write scope
Silthus Nov 5, 2026
f5080a7
Merge remote-tracking branch 'origin/feat/migrate-email-resend' into …
Silthus Nov 5, 2026
eae6399
Merge #451 at f5080a7 (key scope transactional_email:write) into feat…
Silthus Nov 5, 2026
8d6fb39
Merge feat/migrate-email-sendgrid into feat/migrate-email-postmark
Silthus Nov 5, 2026
254dbb9
fix(migrate-email): name the transactional email scope in the preflight
Silthus Nov 5, 2026
464644f
Merge branch 'feat/migrate-email-resend' into feat/migrate-email-rese…
Silthus Nov 5, 2026
4b0f257
feat(migrate-email): move Resend sends in every PostHog SDK's language
Silthus Nov 5, 2026
c4ed38c
fix(migrate-email): keep the app booting and check the whole project …
Silthus Nov 5, 2026
a658c75
fix(migrate-email): use the one Rust client the app's features build
Silthus Nov 5, 2026
cffc009
feat(migrate-email): carry posthog-sdks.md's rules into the rewrite f…
Silthus Nov 5, 2026
6ab1cc2
Merge the migration lane's per-SDK rules into feat/migrate-email-all-…
Silthus Nov 5, 2026
f6b6af8
fix(migrate-email): check the merged SDK rules against the SDK heads
Silthus Nov 5, 2026
ef2c2e9
fix(migrate-email): give Elixir email its own instance when the app u…
Silthus Nov 5, 2026
fbd1e83
fix(migrate-email): never pass nil for Elixir's host or token
Silthus Nov 5, 2026
c53e0ad
Merge #472 at fbd1e83 (a rewrite file per SDK) into feat/migrate-emai…
Silthus Nov 5, 2026
04e34c1
Merge #472 at fbd1e83 (a rewrite file per SDK) into feat/migrate-emai…
Silthus Nov 5, 2026
78d56ce
fix(migrate-email): fall back past a nil :posthog host in Elixir
Silthus Nov 5, 2026
74f1efd
docs(migrate-email): point the postmark mapping at the rewrite file
Silthus Nov 5, 2026
317a9cb
Merge #472 at 78d56ce (Elixir falls back past a nil host) into feat/m…
Silthus Nov 5, 2026
182ba7a
Merge #472 at 78d56ce and the layers below into feat/migrate-email-po…
Silthus Nov 5, 2026
bb711c5
fix(migrate-email): list the error names once and state reply-to per SDK
Silthus Nov 5, 2026
0f6d4f0
Merge #472 at bb711c5 (error names listed once, reply-to per SDK) int…
Silthus Nov 5, 2026
ab933ea
Merge #472 at bb711c5 into feat/migrate-email-postmark
Silthus Nov 5, 2026
5398fd9
fix(migrate-email): give email its own client behind a reverse proxy
Silthus Nov 5, 2026
78a308c
Merge #472 at 5398fd9 (own email client behind a reverse proxy) into …
Silthus Nov 5, 2026
09dd9ed
Merge #472 at 5398fd9 into feat/migrate-email-postmark
Silthus Nov 5, 2026
6924d48
test(migrate-email): pin keeping the secret key off the proxied client
Silthus Nov 5, 2026
a8d0023
Merge #472 at 6924d48 (proxy test also checks the app client keeps no…
Silthus Nov 5, 2026
fdb4671
Merge #472 at 6924d48 into feat/migrate-email-postmark
Silthus Nov 5, 2026
4b15d2e
feat(migrate-email): bring stored templates into the code
Silthus Nov 5, 2026
7a4c994
Merge #459 at 4b15d2e (stored templates move into the code) into feat…
Silthus Nov 5, 2026
735bd63
feat(migrate-email): fill SendGrid substitutions in the code
Silthus Nov 5, 2026
7989fd7
Merge sendgrid at 735bd63a (SendGrid substitutions in the code) into …
Silthus Nov 5, 2026
54a6b78
feat(migrate-email): bring Postmark templates into the code
Silthus Nov 5, 2026
2ebcce0
feat(migrate-email): bring Resend templates into the code
Silthus Nov 5, 2026
4ce6c2d
docs(migrate-email): record engagement events only when engagement ca…
Silthus Nov 9, 2026
62d1116
fix(migrate-email): keep SendGrid sites with opens untracked instead …
Silthus Nov 9, 2026
2ad4e9c
fix(migrate-email): keep Postmark sites with opens untracked instead …
Silthus Nov 9, 2026
2e786d2
Merge branch 'feat/migrate-email-sendgrid' into feat/migrate-email-po…
Silthus Nov 9, 2026
7761f99
fix(migrate-email): list no PostHog click event for SendGrid clicks, …
Silthus Nov 9, 2026
43ae9bd
fix(migrate-email): list no PostHog click event for Postmark clicks
Silthus Nov 9, 2026
54a1c10
Merge branch 'feat/migrate-email-sendgrid' into feat/migrate-email-po…
Silthus Nov 9, 2026
0192a3d
fix(migrate-email): keep an app's PostHog key, and a Resend HTTP call…
Silthus Nov 12, 2026
d2e2848
Merge #451 at 0192a3d (keep an app's PostHog key, and an HTTP call's …
Silthus Nov 12, 2026
5c996de
fix(migrate-email): keep email off a disabled client, and pass numeri…
Silthus Nov 12, 2026
20036d6
Merge #451 at 5c996de (no email on a disabled client, numeric IDs as …
Silthus Nov 12, 2026
dddd616
fix(migrate-email): keep undeadlined HTTP sites on Resend and keep im…
Silthus Nov 12, 2026
8234d71
fix(migrate-email): record the send's own sender, replace markers in …
Silthus Nov 12, 2026
e9953c0
fix(migrate-email): map Go's other Resend error checks and keep Outlo…
Silthus Nov 12, 2026
ecd0366
fix(migrate-email): render variables in Go's Outlook blocks and scope…
Silthus Nov 12, 2026
7e5a468
fix(migrate-email): keep encoded URL values as they are in Go templates
Silthus Nov 12, 2026
e22fa6c
Merge branch 'main' into feat/migrate-email-resend
Silthus Nov 12, 2026
7afab6e
Merge branch 'feat/migrate-email-resend-cutover' into feat/migrate-em…
Silthus Nov 12, 2026
ae88e6e
Merge branch 'feat/migrate-email-resend' into feat/migrate-email-rese…
Silthus Nov 12, 2026
6b41f33
feat(migrate-email): move the shared step changes from the SendGrid l…
Silthus Nov 12, 2026
ff41303
Merge the core skill into feat/migrate-email-postmark, keeping only t…
Silthus Nov 12, 2026
a366b71
fix(migrate-email): list Resend webhook handlers, keep ignored argume…
Silthus Nov 12, 2026
f279e43
fix(migrate-email): keep provider content inert in code literals, and…
Silthus Nov 12, 2026
0fc1cc8
Merge remote-tracking branch 'origin/feat/migrate-email-all-sdks' int…
Silthus Nov 12, 2026
0418350
fix(migrate-email): postmark sender-signature reply-to, Mustachio fal…
Silthus Nov 12, 2026
487262b
fix(skills): close the migrate-email preparation gaps the QA swarm found
Silthus Nov 12, 2026
00b9aa3
fix(skills): tighten the migrate-email key check and template rules
Silthus Nov 12, 2026
bde5bb6
Merge branch 'feat/migrate-email-resend' into feat/migrate-email-rese…
Silthus Nov 12, 2026
708f7f1
fix(migrate-email): keep each site's own HTTP deadline
Silthus Nov 12, 2026
56158d1
fix(migrate-email): keep marketing sends on the provider
Silthus Nov 12, 2026
c76f683
fix(migrate-email): postmark test token, subject, error statuses, dot…
Silthus Nov 12, 2026
04e7c84
fix(migrate-email): read the provider's report notes without the impo…
Silthus Nov 12, 2026
7c388d1
Merge branch 'feat/migrate-email-resend' into feat/migrate-email-rese…
Silthus Nov 12, 2026
62c97ba
fix(migrate-email): postmark test-token environments need a send seam…
Silthus Nov 12, 2026
ec2e02b
fix(migrate-email): postmark PHP template model tracking and InlineCs…
Silthus Nov 12, 2026
834645b
fix(migrate-email): a postmark InvalidEmailRequestError catch also ra…
Silthus Nov 12, 2026
0186ee2
fix(migrate-email): answer the round 1 review of the rewrite and veri…
Silthus Nov 12, 2026
30f3873
fix(migrate-email): match baseline typecheck errors without their line
Silthus Nov 12, 2026
dc18f5d
fix(migrate-email): count each baseline typecheck error
Silthus Nov 12, 2026
438fa0d
fix(migrate-email): a postmark Ruby base rescue lets network failures…
Silthus Nov 12, 2026
a028874
fix(migrate-email): a postmark Ruby base rescue keeps rescuing timeouts
Silthus Nov 12, 2026
c33bf45
Merge branch 'feat/migrate-email-resend-cutover' into feat/migrate-em…
Silthus Nov 12, 2026
a2994e9
fix(migrate-email): keep a named recipient on Resend
Silthus Nov 12, 2026
bde40bc
Merge remote-tracking branch 'origin/feat/migrate-email-resend' into …
Silthus Nov 12, 2026
e4221d8
Merge remote-tracking branch 'origin/feat/migrate-email-resend-cutove…
Silthus Nov 12, 2026
82d6ebf
fix(migrate-email): settle deadlines, attribute quoting, and suppress…
Silthus Nov 12, 2026
497d017
fix(migrate-email): keep a site on Resend when it needs a suppressed …
Silthus Nov 12, 2026
69edcdd
fix(migrate-email): keep a Resend SDK send with an abortable signal o…
Silthus Nov 12, 2026
22df812
Merge remote-tracking branch 'origin/feat/migrate-email-resend-cutove…
Silthus Nov 12, 2026
e36fd64
fix(migrate-email): own email clients, long deadlines, clicks and tem…
Silthus Nov 12, 2026
08c9d15
test(migrate-email): drop the tests that match the skill's own wording
Silthus Nov 12, 2026
bb14da9
fix(migrate-email): blank .NET host, long .NET deadlines, shared temp…
Silthus Nov 12, 2026
eeeb620
fix(migrate-email): keep a Go site whose template fills CSS from a value
Silthus Nov 12, 2026
64bb2a2
fix(migrate-email): count brought-in templates as code content, stop …
Silthus Nov 12, 2026
8ead8e1
fix(migrate-email): keep enable_local_evaluation off the Python async…
Silthus Nov 12, 2026
83e2ace
Merge feat/migrate-email-all-sdks into feat/migrate-email-postmark
Silthus Nov 12, 2026
b0dc650
fix(migrate-email): converge Postmark with the finished core
Silthus Nov 12, 2026
0158aef
fix(migrate-email): keep sites that branch on one kind of network fai…
Silthus Nov 12, 2026
f9085cc
fix(migrate-email): keep Ruby's per-phase timeouts and retry count exact
Silthus Nov 12, 2026
f6978e7
fix(migrate-email): keep separate connect limits, require ext-curl fo…
Silthus Nov 12, 2026
ad23a92
fix(migrate-email): keep a Go request's transport limits
Silthus Nov 12, 2026
0db4985
fix(migrate-email): keep Ruby's malformed answers inside the base rescue
Silthus Nov 12, 2026
7ccc0ee
fix(migrate-email): keep a Python whole-request limit on the provider
Silthus Nov 12, 2026
77b10d3
fix(migrate-email): count Postmark bounce activation as a suppression…
Silthus Nov 12, 2026
b9628d4
Merge feat/migrate-email-all-sdks into feat/migrate-email-postmark
Silthus Nov 12, 2026
8ee4eba
fix(migrate-email): defer Postmark's network-failure and timeout spli…
Silthus Nov 12, 2026
eef1481
fix(migrate-email): settle untracked clicks, timeout kinds, and the m…
Silthus Nov 12, 2026
efb8451
fix(migrate-email): read Faraday's timeout by its adapter
Silthus Nov 12, 2026
f658354
fix(migrate-email): keep a site whose handler needs an event PostHog …
Silthus Nov 12, 2026
92d8d27
Merge feat/migrate-email-all-sdks into feat/migrate-email-postmark
Silthus Nov 12, 2026
0e008f4
docs(migrate-email): reconcile Postmark clicks and timeouts with the …
Silthus Nov 12, 2026
2c5b80d
docs(migrate-email): count Postmark's partial link tracking as untrac…
Silthus Nov 12, 2026
a66e15b
fix(migrate-email): upgrade mocked send tests to the HTTP boundary
Silthus Nov 12, 2026
7a3be6d
docs(migrate-email): HtmlOnly or TextOnly counts only when the other …
Silthus Nov 12, 2026
18ab351
fix(migrate-email): fake fetch instead of keeping a send mock
Silthus Nov 12, 2026
ced460c
Merge commit '18ab3510a0b5cb457fab6a6b3d6079d8078bbc2d' into HEAD
Silthus Nov 12, 2026
e14c1fc
fix(migrate-email): keep a Ruby site with a partial Net::HTTP timeout
Silthus Nov 12, 2026
a943460
fix(migrate-email): note a must-be-sensitive template in its plan row
Silthus Nov 12, 2026
45c5716
fix(migrate-email): keep network failures off Resend's 503 branch
Silthus Nov 12, 2026
d51979c
fix(migrate-email): allow a loopback app host in Go and .NET tests
Silthus Nov 12, 2026
17c6ca1
feat(migrate-email): ask before adding an open pixel to untracked email
Silthus Nov 12, 2026
735d8f6
Merge #472 at 17c6ca1 into feat/migrate-email-postmark
Silthus Nov 12, 2026
13b9a6a
docs(migrate-email): point Postmark's untracked opens and Subscriptio…
Silthus Nov 12, 2026
cff58f5
fix(migrate-email): route a network failure the way Resend's code did
Silthus Nov 12, 2026
96e10a2
Merge commit 'cff58f516b33b2fe5eb3c0a5d2704f874f7c3d85' into HEAD
Silthus Nov 12, 2026
6f7abcb
fix(migrate-email): test with a standard-library server, never a mock…
Silthus Nov 12, 2026
8776c81
fix(migrate-email): ask about a test dependency only where one is needed
Silthus Nov 12, 2026
63c3dfe
fix(migrate-email): ask before adding any test tool, in every language
Silthus Nov 12, 2026
21e1d27
feat(migrate-email): re-import the suppression list weekly while site…
Silthus Nov 12, 2026
a65bb90
fix(migrate-email): check the project before a suppression re-import
Silthus Nov 12, 2026
b28e13b
fix(migrate-email): write the re-import's project check out in Step 5
Silthus Nov 12, 2026
b2dfe53
fix(migrate-email): confirm the production project before a re-import
Silthus Nov 12, 2026
731b092
fix(migrate-email): read the project token with project-get
Silthus Nov 12, 2026
8929f93
fix(migrate-email): switch the MCP back after a re-import
Silthus Nov 12, 2026
e5735c8
fix(migrate-email): name the production project in a by-hand re-import
Silthus Nov 12, 2026
8b9757e
fix(migrate-email): let a re-import without the tool say so
Silthus Nov 12, 2026
349a407
fix(migrate-email): let a re-import say why it got no list
Silthus Nov 12, 2026
2df1f26
fix(migrate-email): read the project token with project-get
Silthus Nov 12, 2026
090ac92
Merge #451 (feat/migrate-email-resend-cutover) into feat/migrate-emai…
Silthus Nov 12, 2026
d7eb8e8
Merge #472 at 090ac92 into feat/migrate-email-postmark
Silthus Nov 12, 2026
d8dd2d4
fix(migrate-email): ask for re-imports only when the provider keeps a…
Silthus Nov 12, 2026
94d44d3
fix(migrate-email): record a provider with no list before the tool check
Silthus Nov 13, 2026
a95b8f8
docs(migrate-email): name Postmark's servers and tokens in a re-import
Silthus Nov 13, 2026
3338c3e
docs(migrate-email): carry Postmark's imported servers to the re-import
Silthus Nov 13, 2026
85fdbc3
docs(migrate-email): report every Postmark server the import covers
Silthus Nov 13, 2026
347140a
docs(migrate-email): write Postmark's per-server import mark after th…
Silthus Nov 13, 2026
1050901
docs(migrate-email): write Postmark's per-server mark at Step 5's exit
Silthus Nov 13, 2026
2b8d0d6
fix(migrate-email): end a re-import early when the provider keeps no …
Silthus Nov 13, 2026
5e0607f
fix(migrate-email): keep sites a Resend webhook handler acts on, and …
Silthus Nov 13, 2026
994d846
docs(migrate-email): keep Postmark Ruby timeouts only when write matc…
Silthus Nov 13, 2026
eeed7cb
fix(migrate-email): check every error in a rewritten line against its…
Silthus Nov 13, 2026
5f5debd
fix(migrate-email): check for a provider without a suppression list b…
Silthus Nov 13, 2026
cb26a5f
Merge #451 (feat/migrate-email-resend-cutover) into feat/migrate-emai…
Silthus Nov 13, 2026
77b680b
fix(migrate-email): give Step 8 one rule for which typecheck errors a…
Silthus Nov 13, 2026
e7a7f3f
Merge #451 (feat/migrate-email-resend-cutover) into feat/migrate-emai…
Silthus Nov 13, 2026
1d85155
fix(migrate-email): tie the kept Resend error names to posthog-node, …
Silthus Nov 13, 2026
013a98e
Merge #450 (feat/migrate-email-resend) into feat/migrate-email-resend…
Silthus Nov 13, 2026
19b1b90
fix(migrate-email): mark secret emails sensitive, check template keys…
Silthus Nov 13, 2026
fdea2d3
fix(migrate-email): send sensitive only with rendered content, and on…
Silthus Nov 13, 2026
43318e5
fix(migrate-email): a Ruby timeout set to 60 alone keeps the deadline
Silthus Nov 13, 2026
2fe8430
fix(migrate-email): check the app's Node version and count removed er…
Silthus Nov 13, 2026
6c45e23
Merge remote-tracking branch 'origin/feat/migrate-email-resend-cutove…
Silthus Nov 13, 2026
4087e6c
fix(migrate-email): carry the key, sensitive and Node checks; count r…
Silthus Nov 13, 2026
4d1b5a3
fix(migrate-email): note the server errors Postmark retried and PostH…
Silthus Nov 13, 2026
808f61d
fix(migrate-email): name each SDK's sensitive flag; list the moved keys
Silthus Nov 13, 2026
9fa7ee2
fix(migrate-email): carry Postmark's cutover checks as before-cutover…
Silthus Nov 13, 2026
fd58f93
fix(migrate-email): move the template keys to after cutover; edge reason
Silthus Nov 13, 2026
ec25608
fix(migrate-email): word the test-environment cutover note as a task
Silthus Nov 13, 2026
84badee
fix(migrate-email): keep unreadable answers outside the .NET validati…
Silthus Nov 13, 2026
f1ba031
fix(migrate-email): scope the runtime check to where each site runs
Silthus Nov 13, 2026
e7e3dfe
fix(migrate-email): one .NET catch rule, and a rule for PostmarkRespo…
Silthus Nov 13, 2026
a0b01bc
fix(migrate-email): check every server that shares the SDK's manifest
Silthus Nov 13, 2026
8f51a57
fix(migrate-email): keep every site on a manifest an unsupported serv…
Silthus Nov 13, 2026
1804f93
fix(migrate-email): read the installed Postmark client for answers it…
Silthus Nov 13, 2026
f217410
fix(migrate-email): .NET reads the client's source, and named classes…
Silthus Nov 13, 2026
b8ce69a
fix(migrate-email): keep postmarker's client-side CSS inlining
Silthus Nov 13, 2026
6b0083e
fix(migrate-email): count workspace and root lockfile installs in the…
Silthus Nov 13, 2026
39dfeba
fix(migrate-email): inline every postmarker HTML send, and keep css-i…
Silthus Nov 13, 2026
400e546
fix(migrate-email): never load remote stylesheets in the moved inliner
Silthus Nov 13, 2026
ef71e1f
fix(migrate-email): keep a site whose HTTP client retries a request w…
Silthus Nov 13, 2026
4497008
fix(migrate-email): reuse a passed CSSInliner as it is
Silthus Nov 13, 2026
6fdfdf7
fix(migrate-email): count only a retry setup that covers the POST
Silthus Nov 13, 2026
6d4801f
fix(migrate-email): name the retry setups as examples, not a full list
Silthus Nov 13, 2026
8a8c478
fix(migrate-email): carry the state Ruby's deliver_message set on the…
Silthus Nov 13, 2026
caff403
fix(migrate-email): read the retry setup's options before counting it
Silthus Nov 13, 2026
2a73521
fix(migrate-email): map deliver_message state read in error paths and…
Silthus Nov 13, 2026
7aad014
fix(migrate-email): count a requests adapter whose max_retries is a n…
Silthus Nov 13, 2026
8f8e3f8
fix(migrate-email): bound the deliver_message state rule
Silthus Nov 13, 2026
a090b5b
chore: merge main after #450 landed
Silthus Nov 13, 2026
64922ac
fix(migrate-email): apply the message-state rule to every Mail::Messa…
Silthus Nov 13, 2026
17b5021
fix(migrate-email): keep a batch of one whose message state is read
Silthus Nov 13, 2026
66dc2b2
Merge branch 'feat/migrate-email-resend-cutover' into feat/migrate-em…
Silthus Nov 13, 2026
6d3d8b0
fix(migrate-email): keep a site that reads Resend's response headers
Silthus Nov 13, 2026
610e703
fix(migrate-email): name each SDK's retry delay in its rewrite file
Silthus Nov 13, 2026
29b3f03
fix(migrate-email): map Postmark's missing template to PostHog's not_…
Silthus Nov 13, 2026
d186900
fix(migrate-email): keep a send that turns Resend's plain-text part off
Silthus Nov 13, 2026
9e3ad05
fix(migrate-email): carry the not_found check into each language bullet
Silthus Nov 13, 2026
761b306
fix(migrate-email): name what InvalidEmailRequestError never covered
Silthus Nov 13, 2026
088f35b
fix(migrate-email): cover react and run-time empty text, word the tem…
Silthus Nov 13, 2026
3b204b7
fix(migrate-email): check the text-part rule in Step 3, count Go's em…
Silthus Nov 13, 2026
b3482cb
fix(migrate-email): keep Postmark's handler for a call that stays in …
Silthus Nov 13, 2026
053022a
fix(migrate-email): kept Postmark branches check the error is Postmark's
Silthus Nov 13, 2026
f3bb668
fix(migrate-email): ask whether a copied Resend template turns its pl…
Silthus Nov 13, 2026
355df95
fix(migrate-email): offer the full-access key for the plain-text ques…
Silthus Nov 13, 2026
d125420
fix(migrate-email): kept Postmark branches skip PostHog's error inste…
Silthus Nov 13, 2026
396d74a
fix(migrate-email): Node.js PostHog branches check the marker when th…
Silthus Nov 13, 2026
74040e5
fix(migrate-email): note every template's plain text, offer the key o…
Silthus Nov 13, 2026
88ec3c6
fix(migrate-email): Node.js marks PostHog's error at every moved send…
Silthus Nov 13, 2026
8dea6c3
fix(migrate-email): Node.js field branches keep their old check for o…
Silthus Nov 13, 2026
b99cea5
fix(migrate-email): sync suppression calls on the reasons PostHog stores
Silthus Nov 13, 2026
265a7cd
docs(migrate-email): label Node.js's list as the mapped checks inside…
Silthus Nov 13, 2026
9eb4180
fix(migrate-email): report suppression-list calls instead of syncing …
Silthus Nov 13, 2026
1bcc53c
fix(migrate-email): say only hard bounces block a moved send
Silthus Nov 13, 2026
daf563e
fix(migrate-email): give the add item a check the app can make
Silthus Nov 13, 2026
d00e808
fix(migrate-email): ask in Step 3 which sites rely on a suppression add
Silthus Nov 13, 2026
2fe5090
fix(migrate-email): ask about hand-added suppressions too
Silthus Nov 13, 2026
b006c9b
fix(migrate-email): keep the sites when nobody can say who relies on …
Silthus Nov 13, 2026
cd9e38a
fix(migrate-email): ask about the suppression list before the templat…
Silthus Nov 13, 2026
4db6763
fix(migrate-email): list the suppression note in the plan file rules
Silthus Nov 13, 2026
0a6ae00
fix(migrate-email): keep Rust sites on runtimes other than Tokio
Silthus Nov 13, 2026
f98eb3b
fix(migrate-email): require Tokio's timers for the Rust async client
Silthus Nov 13, 2026
418cc5a
chore: merge main after #451 landed
Silthus Nov 13, 2026
78931b9
Merge remote-tracking branch 'origin/feat/migrate-email-all-sdks' int…
Silthus Nov 13, 2026
6eae350
chore: merge main after #472 landed
Silthus Nov 13, 2026
1c2357d
fix(migrate-email): adapt Postmark to #472's suppression and answer r…
Silthus Nov 13, 2026
0ae5ce0
fix(migrate-email): scope Postmark's suppression calls and check its …
Silthus Nov 13, 2026
8b9e398
fix(migrate-email): check Postmark's text part on an email sent witho…
Silthus Nov 13, 2026
6730c15
fix(migrate-email): settle Postmark's text part per send kind
Silthus Nov 13, 2026
36b4054
fix(migrate-email): settle Postmark's text part per request case
Silthus Nov 13, 2026
c7fa4dc
fix(migrate-email): tie Postmark's text-part sample to a named site
Silthus Nov 13, 2026
33ed8a4
fix(migrate-email): let Postmark's text-part sample come from a helpe…
Silthus Nov 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ longer exist — only some keep an alias.
|---|---|
| `wizard migrate statsig` | `migrate-statsig` |
| `wizard migrate resend` | `migrate-email-resend` |
| `wizard migrate postmark` | `migrate-email-postmark` |

**Commands vs. skills:** those audit subcommands **are** skills, promoted to
commands via `cli: role: command`. A `role: skill` skill is reachable only via
Expand Down
3 changes: 3 additions & 0 deletions context/skills/migrate-email/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ variants:
- id: resend
display_name: Resend
tags: [resend]
- id: postmark
display_name: Postmark
tags: [postmark]
88 changes: 88 additions & 0 deletions context/skills/migrate-email/references/postmark/account.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Postmark account

What the migration needs from the person's Postmark account. The agent never changes the account: it reads what the person exports or allows.

## DNS records

A domain verified at Postmark carries these records. Keep all of them until the cutover is done. Postmark shows the exact names and values on the domain's DNS Settings page.

| Record | Name | What it does |
|---|---|---|
| `TXT` (DKIM) | `<date>pm._domainkey`, such as `20240115123456pm._domainkey` | Signs Postmark's mail |
| `CNAME` (Return-Path) | `pm-bounces` by default, or the label the person chose | Points to `pm.mtasv.net`. Takes Postmark's bounces, and aligns its SPF |
| `TXT` (DMARC) | `_dmarc` | Optional, shared by every provider on the domain |

- While Postmark renews a DKIM key, the domain carries a second `<date>pm._domainkey` record for the new key. Keep both.
- PostHog's sender uses its own label for its MAIL FROM, `feedback` by default. Never give PostHog the Return-Path label Postmark uses.
- PostHog's DKIM records have their own names, so they sit next to Postmark's `pm._domainkey` record.
- Keep the one `_dmarc` record. Never add a second one.
- Postmark needs no SPF record on the domain itself: its Return-Path covers SPF. A domain whose SPF record names `include:spf.mtasv.net`, from an older Postmark setup, keeps it. Merge PostHog's include into that record, or into whatever `v=spf1` record the domain has.

## Migration token

Postmark's Server API tokens can't be limited to reads: each one can send mail and change the server's settings, and each one reads only its own server. The app's own token can read templates, tracking settings, and suppressions, but the run doesn't use it. When the person chooses the API over the dashboard, ask them to generate a separate Server API token for the migration on each server the moved sites send from (the server, then API Tokens, then Generate New; a server holds up to three tokens). Store it in the git-ignored env file: `POSTMARK_MIGRATION_SERVER_TOKEN` for one server, or `POSTMARK_MIGRATION_SERVER_TOKEN_<SERVER>`, with the server's name in upper snake case, for each of several. Write each one into the plan as Step 3's plan layout says, with its server. Every read below uses the token of the server it reads from.

A migration token lives from the first read of its server to the end of Step 5. Step 3 reads templates and tracking settings with it, and Step 5 imports the suppression list with it. Ask for each token when the first read of its server needs it, and keep it until then. When Step 5 asks the person to delete the full-access key, that is each migration token: in Postmark, the server, then API Tokens. The report reminds them of each token they didn't delete. A re-import, as Step 5 says under "Re-import only", has no plan: ask for each server's token when its list needs it, keep it only in the env file, and ask the person to delete it in "The full-access key" of that run. Never print a token, and never write it into another file.

The steps call these keys the full-access provider key.

## Tracking settings

A site that leaves out `TrackOpens` or `TrackLinks` sends with its server's setting, as `mapping.md` says under "Tracking". Step 3 reads open tracking here for "Opens the provider didn't track": a server whose open tracking is off sent its sites' emails with no open pixel, and a setting nobody gives means nobody can tell.

**Ask the person.** In Postmark: the server, then Settings. It shows whether open tracking and link tracking are on, and which parts link tracking covers.

**Click tracking.** For a site that moves to a template made in PostHog, Postmark didn't track its clicks unless it tracked every link of the email. It tracked none, or only some:

- When its links were untracked, by the send's own `TrackLinks: None`, a `postmarker` or .NET SDK default, or a server whose link tracking is off, as `mapping.md` says under "Tracking".
- When the send's `TrackLinks`, or the server's setting it follows, is `HtmlOnly` and the text body holds a link, or `TextOnly` and the HTML body holds one: each tracks the links of one body only. An email whose links all sit in the tracked body had every link tracked.
- When a link in the template's HTML carries `data-pm-no-track`: Postmark left that link, and the same link in the text, as it was.

When its links follow a server whose link tracking setting is not given, nobody knows, as Step 3 says under "A template in PostHog".

**Read from the API.** `GET https://api.postmarkapp.com/server` with `Accept: application/json` and `X-Postmark-Server-Token` set to the migration token of that server. The answer holds `TrackOpens`, a boolean, `TrackLinks`: `None`, `HtmlAndText`, `HtmlOnly`, or `TextOnly`, and `DeliveryType`: `Live`, or `Sandbox` for a server that delivers nothing.

## Sender signatures

A send that leaves out `ReplyTo` takes the Reply-To address of its `From` address's sender signature, as `mapping.md` says under "Reply-to of the sender signature".

**Ask the person.** In Postmark: Sender Signatures, then the address. It shows the signature's Reply-To address when it has one. An address that is not listed there, such as one a verified domain covers, has no sender signature of its own.

The API reads sender signatures only with the account's Account API token (`GET /senders`), which can change every server of the account. Never ask for that token.

## Template content

A site whose template moves needs the content of the template and of its layout: Step 3 checks it, and Step 7 brings it into the code, or the person makes a template in PostHog from it when they ask for one. The API returns the content: the subject, the HTML, and the text as they are stored, in Mustachio, with the `<style>` blocks not yet inlined.

**Copy from the dashboard.** In Postmark: the server the site sends from, then Templates, then the template. Ask the person for the template's id or alias, its subject, its HTML, and its text body when it has one. When the template uses a layout, ask for the layout's HTML and text too.

**Read from the API.** `GET https://api.postmarkapp.com/templates/{templateIdOrAlias}` with `Accept: application/json` and `X-Postmark-Server-Token` set to the migration token of the server the site sends from: each server has its own templates, and an id or alias finds only that server's. The answer holds `TemplateId`, `Alias`, `Name`, `Subject`, `HtmlBody`, `TextBody`, `TemplateType` (`Standard` or `Layout`), `LayoutTemplate`, and `Active`. When `LayoutTemplate` holds an alias, read that layout with the same route and token.

Read the person's copies where they saved them. An API answer goes only into the temporary file Step 3 writes, which is deleted as `template-to-code.md` says. Never write the content into the plan or the report.

## Suppression list

Postmark keeps one suppression list per message stream. It refuses a send to an address on the stream's list with error code `406`. Import the list of `outbound`, the default transactional stream, which the moved sites send through. Each server has its own streams and lists. When the moved sites send from more than one server, the person agreed in Step 3 that they share one list, as `mapping.md` says under "Servers": import the `outbound` list of each of those servers, and count the import as complete only when every one is in. Through the API, read each server's list with that server's migration token. A re-import, as Step 5 says under "Re-import only", has no plan that names the servers: ask the person once to confirm the servers the migration report names, from "For the report" below, or, without the report, which servers the moved sites send from. Never add a server whose sites all stayed. Import the `outbound` list of each one, and count the re-import as complete only when every one is in.

**Export from the dashboard (preferred).** In Postmark: each server, then its `outbound` stream, then Suppressions, then **Export**. It saves a JSON file. Ask the person where they saved it. Read its fields to find each entry's address and reason.

**Read from the API.** `GET https://api.postmarkapp.com/message-streams/outbound/suppressions/dump` with `Accept: application/json` and `X-Postmark-Server-Token` set to the server's migration token. It answers `{ "Suppressions": [{ "EmailAddress", "SuppressionReason", "Origin", "CreatedAt" }] }` for the whole stream in one call, with no paging. Wait and retry on `429`.

**Map each entry.**

| `SuppressionReason` | PostHog `reason` |
|---|---|
| `HardBounce` | `bounce` |
| `SpamComplaint` | `complaint` |
| `ManualSuppression` | `manual` |

`ManualSuppression` covers an address the app or a person at Postmark suppressed, and a recipient who unsubscribed from the stream. Each one stopped this stream's mail at Postmark, so the import takes each one. PostHog blocks a moved send only to a `bounce` entry, as Step 5 says, so a moved send reaches a `complaint` or `manual` one. When Step 3 asks which sites rely on Postmark's suppression list, name the ways an address gets onto the `outbound` list: a recipient who unsubscribed, a person in the dashboard (the server, then its `outbound` stream, then Suppressions), and each call in the "Adds an address" column of `mapping.md`'s "Calls that change the suppression list" that is one of them, as it says.

**Leave out the other lists.**

- **Broadcast streams** hold the suppressions of marketing mail, such as unsubscribes from a newsletter. PostHog's opt-outs apply to marketing messages only, and transactional email ignores them. At Postmark they never stopped the `outbound` stream's mail, so nothing changes for them when the sends move.
- **Other transactional streams** belong to the sites that send through them, and those sites stay on Postmark. Leave their lists where they are.

## For the report

- The name of each server the moved sites send from, whose `outbound` list Step 5 imports, whether or not the import ran. A later re-import imports the same ones. Write the names when you read this section, and next to each, when Step 5 reaches "The full-access key", which every way out of the step ends at, whether its list is fully in. Never a token.
Loading
Loading