René's URL Explorer Experiment


Title: feat(mailer): gate outbound email on AppConfig access-control ban list by TheodoreSpeaks · Pull Request #5018 · simstudioai/sim · GitHub

Open Graph Title: feat(mailer): gate outbound email on AppConfig access-control ban list by TheodoreSpeaks · Pull Request #5018 · simstudioai/sim

X Title: feat(mailer): gate outbound email on AppConfig access-control ban list by TheodoreSpeaks · Pull Request #5018 · simstudioai/sim

Description: Summary Add a ban-list gate inside sendEmail/sendBatchEmails so block-lifecycle emails (payment-failure, dispute, credit-purchase, usage-threshold) — and all other outbound mail — skip recipients on the AppConfig access-control ban list New applyBanList helper filters recipients via isEmailBlockedByAccessControl (same predicate used at signup/login/execution); drops only banned addresses from multi-recipient sends, skips entirely when all are banned Fails open: config is cached (~30s TTL) with env fallback, so an unreachable AppConfig never blocks all mail Type of Change Bug fix Testing Tested manually. bun run lint clean, bun run check:api-validation:strict passed. Added mailer tests (single banned recipient, partial-array filtering, batch skip) — 18/18 pass; billing webhook tests 3/3 pass. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Add a ban-list gate inside sendEmail/sendBatchEmails so block-lifecycle emails (payment-failure, dispute, credit-purchase, usage-threshold) — and all other outbound mail — skip recipients ...

X Description: Summary Add a ban-list gate inside sendEmail/sendBatchEmails so block-lifecycle emails (payment-failure, dispute, credit-purchase, usage-threshold) — and all other outbound mail — skip recipients ...

Opengraph URL: https://github.com/simstudioai/sim/pull/5018

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b22ac397-61a0-588f-e58d-5eb2cdbb421f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id838A:19FA2E:5E32F7:867B23:6AFB435C
html-safe-nonce2db57ca6edb40c921b35d133fa573d7025f9c681de7003037c439044fd160dad
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzhBOjE5RkEyRTo1RTMyRjc6ODY3QjIzOjZBRkI0MzVDIiwidmlzaXRvcl9pZCI6Ijg0NjQxNDQxMzcwOTA0NTAyNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac97d4e28df2f929767aabda95ba25c9f5699f226edb87ae82154e28c3297f82c5
hovercard-subject-tagpull_request:3858395216
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5018/files
twitter:imagehttps://avatars.githubusercontent.com/u/19564703?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/19564703?s=400&v=4
og:image:altSummary Add a ban-list gate inside sendEmail/sendBatchEmails so block-lifecycle emails (payment-failure, dispute, credit-purchase, usage-threshold) — and all other outbound mail — skip recipients ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5018/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5018%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5018%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/5018/files
Reloadhttps://github.com/simstudioai/sim/pull/5018/files
Reloadhttps://github.com/simstudioai/sim/pull/5018/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests200 (200)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
TheodoreSpeakshttps://github.com/TheodoreSpeaks
staginghttps://github.com/simstudioai/sim/tree/staging
feat/block-lifecycle-emailhttps://github.com/simstudioai/sim/tree/feat/block-lifecycle-email
Conversation 9 https://github.com/simstudioai/sim/pull/5018
Commits 3 https://github.com/simstudioai/sim/pull/5018/commits
Checks 14 https://github.com/simstudioai/sim/pull/5018/checks
Files changed https://github.com/simstudioai/sim/pull/5018/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5018/files
feat(mailer): gate outbound email on AppConfig access-control ban list https://github.com/simstudioai/sim/pull/5018/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/5018/files
b97a526 Revert "improvement(auth): layer disposable-email-domains into signup… TheodoreSpeaks Jun 12, 2026 https://github.com/simstudioai/sim/pull/5018/commits/b97a526722b270db6af07b0655b1a06c49e61f76
f331a0b feat(mailer): gate outbound email on AppConfig access-control ban list TheodoreSpeaks Jun 13, 2026 https://github.com/simstudioai/sim/pull/5018/commits/f331a0b8b2b8bf3ff61848acd98f7882f6a921ba
c9a340c ci(migrations): restore dev schema-push TTY rename/drop guard dropped… TheodoreSpeaks Jun 13, 2026 https://github.com/simstudioai/sim/pull/5018/commits/c9a340cfe68b0ae73276e4d9e979d9a4638bd6d7
Clear filters https://github.com/simstudioai/sim/pull/5018/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5018/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5018/files
auth.ts https://github.com/simstudioai/sim/pull/5018/files#diff-1196450729bfda994f3823921eacd28e3200408dbb562d8481108db9abe4a0e2
disposable-domains.d.ts https://github.com/simstudioai/sim/pull/5018/files#diff-153cd5b6f6823805531c9d9100899ea25b380634e8403295ec6be434164a7fbf
disposable-domains.server.test.ts https://github.com/simstudioai/sim/pull/5018/files#diff-d4a0cca72d4efa15590944afbc9b595261c4720ba93a3f933f84111b56c83b98
disposable-domains.server.ts https://github.com/simstudioai/sim/pull/5018/files#diff-741afd780c3783e00f58427d29b06643c87024cbcabfc73360cecf0291b41f23
mailer.test.ts https://github.com/simstudioai/sim/pull/5018/files#diff-25b2e409b63c2b4ba228f5cbae29bd8963efcffce45cebcc836dca3beb1a43e6
mailer.ts https://github.com/simstudioai/sim/pull/5018/files#diff-18e55472aee21e4390b8d923741e63620f860e017c26eddef09f68e6619fb04c
package.json https://github.com/simstudioai/sim/pull/5018/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
bun.lock https://github.com/simstudioai/sim/pull/5018/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60
apps/sim/lib/auth/auth.tshttps://github.com/simstudioai/sim/pull/5018/files#diff-1196450729bfda994f3823921eacd28e3200408dbb562d8481108db9abe4a0e2
View file https://github.com/simstudioai/sim/blob/c9a340cfe68b0ae73276e4d9e979d9a4638bd6d7/apps/sim/lib/auth/auth.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5018/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5018/files#diff-1196450729bfda994f3823921eacd28e3200408dbb562d8481108db9abe4a0e2
https://github.com/simstudioai/sim/pull/5018/files#diff-1196450729bfda994f3823921eacd28e3200408dbb562d8481108db9abe4a0e2
https://github.com/simstudioai/sim/pull/5018/files#diff-1196450729bfda994f3823921eacd28e3200408dbb562d8481108db9abe4a0e2
https://github.com/simstudioai/sim/pull/5018/files#diff-1196450729bfda994f3823921eacd28e3200408dbb562d8481108db9abe4a0e2
https://github.com/simstudioai/sim/pull/5018/files#diff-1196450729bfda994f3823921eacd28e3200408dbb562d8481108db9abe4a0e2
https://github.com/simstudioai/sim/pull/5018/files#diff-1196450729bfda994f3823921eacd28e3200408dbb562d8481108db9abe4a0e2
apps/sim/lib/messaging/email/disposable-domains.d.tshttps://github.com/simstudioai/sim/pull/5018/files#diff-153cd5b6f6823805531c9d9100899ea25b380634e8403295ec6be434164a7fbf
View file https://github.com/simstudioai/sim/blob/2c0a10a5614f45debbbcc4a4d313a9793ce65950/apps/sim/lib/messaging/email/disposable-domains.d.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/5018/files
apps/sim/lib/messaging/email/disposable-domains.server.test.tshttps://github.com/simstudioai/sim/pull/5018/files#diff-d4a0cca72d4efa15590944afbc9b595261c4720ba93a3f933f84111b56c83b98
View file https://github.com/simstudioai/sim/blob/2c0a10a5614f45debbbcc4a4d313a9793ce65950/apps/sim/lib/messaging/email/disposable-domains.server.test.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/5018/files
apps/sim/lib/messaging/email/disposable-domains.server.tshttps://github.com/simstudioai/sim/pull/5018/files#diff-741afd780c3783e00f58427d29b06643c87024cbcabfc73360cecf0291b41f23
View file https://github.com/simstudioai/sim/blob/2c0a10a5614f45debbbcc4a4d313a9793ce65950/apps/sim/lib/messaging/email/disposable-domains.server.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/5018/files
apps/sim/lib/messaging/email/mailer.test.tshttps://github.com/simstudioai/sim/pull/5018/files#diff-25b2e409b63c2b4ba228f5cbae29bd8963efcffce45cebcc836dca3beb1a43e6
View file https://github.com/simstudioai/sim/blob/c9a340cfe68b0ae73276e4d9e979d9a4638bd6d7/apps/sim/lib/messaging/email/mailer.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5018/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5018/files#diff-25b2e409b63c2b4ba228f5cbae29bd8963efcffce45cebcc836dca3beb1a43e6
https://github.com/simstudioai/sim/pull/5018/files#diff-25b2e409b63c2b4ba228f5cbae29bd8963efcffce45cebcc836dca3beb1a43e6
https://github.com/simstudioai/sim/pull/5018/files#diff-25b2e409b63c2b4ba228f5cbae29bd8963efcffce45cebcc836dca3beb1a43e6
https://github.com/simstudioai/sim/pull/5018/files#diff-25b2e409b63c2b4ba228f5cbae29bd8963efcffce45cebcc836dca3beb1a43e6
https://github.com/simstudioai/sim/pull/5018/files#diff-25b2e409b63c2b4ba228f5cbae29bd8963efcffce45cebcc836dca3beb1a43e6
https://github.com/simstudioai/sim/pull/5018/files#diff-25b2e409b63c2b4ba228f5cbae29bd8963efcffce45cebcc836dca3beb1a43e6
https://github.com/simstudioai/sim/pull/5018/files#diff-25b2e409b63c2b4ba228f5cbae29bd8963efcffce45cebcc836dca3beb1a43e6
https://github.com/simstudioai/sim/pull/5018/files#diff-25b2e409b63c2b4ba228f5cbae29bd8963efcffce45cebcc836dca3beb1a43e6
apps/sim/lib/messaging/email/mailer.tshttps://github.com/simstudioai/sim/pull/5018/files#diff-18e55472aee21e4390b8d923741e63620f860e017c26eddef09f68e6619fb04c
View file https://github.com/simstudioai/sim/blob/c9a340cfe68b0ae73276e4d9e979d9a4638bd6d7/apps/sim/lib/messaging/email/mailer.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5018/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5018/files#diff-18e55472aee21e4390b8d923741e63620f860e017c26eddef09f68e6619fb04c
https://github.com/simstudioai/sim/pull/5018/files#diff-18e55472aee21e4390b8d923741e63620f860e017c26eddef09f68e6619fb04c
https://github.com/simstudioai/sim/pull/5018/files#diff-18e55472aee21e4390b8d923741e63620f860e017c26eddef09f68e6619fb04c
https://github.com/simstudioai/sim/pull/5018/files#diff-18e55472aee21e4390b8d923741e63620f860e017c26eddef09f68e6619fb04c
https://github.com/simstudioai/sim/pull/5018/files#diff-18e55472aee21e4390b8d923741e63620f860e017c26eddef09f68e6619fb04c
https://github.com/simstudioai/sim/blob/staging/.github/CODEOWNERS#L36
apps/sim/package.jsonhttps://github.com/simstudioai/sim/pull/5018/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
View file https://github.com/simstudioai/sim/blob/c9a340cfe68b0ae73276e4d9e979d9a4638bd6d7/apps/sim/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5018/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5018/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
https://github.com/simstudioai/sim/pull/5018/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
https://github.com/simstudioai/sim/blob/staging/.github/CODEOWNERS#L38
bun.lockhttps://github.com/simstudioai/sim/pull/5018/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60
View file https://github.com/simstudioai/sim/blob/c9a340cfe68b0ae73276e4d9e979d9a4638bd6d7/bun.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/simstudioai/sim/pull/5018/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5018/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.