René's URL Explorer Experiment


Title: feat(mailer): add AWS SES and SMTP providers with auto-detect fallback by waleedlatif1 · Pull Request #4710 · simstudioai/sim · GitHub

Open Graph Title: feat(mailer): add AWS SES and SMTP providers with auto-detect fallback by waleedlatif1 · Pull Request #4710 · simstudioai/sim

X Title: feat(mailer): add AWS SES and SMTP providers with auto-detect fallback by waleedlatif1 · Pull Request #4710 · simstudioai/sim

Description: Summary Refactor mailer into a provider abstraction (MailProvider interface, one file per provider, factory-based auto-detection) Add AWS SES via nodemailer + @aws-sdk/client-sesv2 transport; credentials resolved through the standard AWS provider chain Add SMTP via nodemailer; auth is optional so MailHog and internal relays work Auto-detect priority: Resend → SES → SMTP → Azure. First configured wins, rest are automatic fallbacks Add envBoolean helper next to envNumber to fix the z.coerce.boolean("false") === true footgun under skipValidation: true Document all four providers in .env.example, helm values + schema, and self-hosting docs Type of Change New feature Testing All 67 existing email tests pass tsc --noEmit, biome check, bun run check:api-validation, helm lint all clean helm template renders the 6 new env vars (AWS_SES_REGION, SMTP_HOST/PORT/USER/PASS/SECURE) into the app Secret envBoolean verified against "false", "FALSE", "0", "no", "", undefined Manual MailHog and live SES smoke recommended before enabling in prod 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 Refactor mailer into a provider abstraction (MailProvider interface, one file per provider, factory-based auto-detection) Add AWS SES via nodemailer + @aws-sdk/client-sesv2 transport; cred...

X Description: Summary Refactor mailer into a provider abstraction (MailProvider interface, one file per provider, factory-based auto-detection) Add AWS SES via nodemailer + @aws-sdk/client-sesv2 transport; cred...

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

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:4198aa1d-c999-3058-2d47-69874096b3b8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE062:375283:A9B714:EE5889:6AFB78F2
html-safe-nonced5dc2e4dbce7830de94ec100e2549aa7f8e0f7cc9d51b3333f6c205723fb6159
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDYyOjM3NTI4MzpBOUI3MTQ6RUU1ODg5OjZBRkI3OEYyIiwidmlzaXRvcl9pZCI6IjQzODgwOTk4NDUzODI2OTkyNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6cdc50205ab995f774ab6b5bd8d5f4ff275c855ca38231985c9c30416f373301
hovercard-subject-tagpull_request:3727119439
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/4710/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Refactor mailer into a provider abstraction (MailProvider interface, one file per provider, factory-based auto-detection) Add AWS SES via nodemailer + @aws-sdk/client-sesv2 transport; cred...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48
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
release2e8872b770cc4d5d0cc1f2026afab747a268e2ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4710/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4710%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%2F4710%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/4710/files
Reloadhttps://github.com/simstudioai/sim/pull/4710/files
Reloadhttps://github.com/simstudioai/sim/pull/4710/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests201 (201)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
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
waleedlatif1/add-smtp-ses-emailhttps://github.com/simstudioai/sim/tree/waleedlatif1/add-smtp-ses-email
Conversation 26 https://github.com/simstudioai/sim/pull/4710
Commits 6 https://github.com/simstudioai/sim/pull/4710/commits
Checks 13 https://github.com/simstudioai/sim/pull/4710/checks
Files changed https://github.com/simstudioai/sim/pull/4710/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4710/files
feat(mailer): add AWS SES and SMTP providers with auto-detect fallback https://github.com/simstudioai/sim/pull/4710/files#top
Show all changes 6 commits https://github.com/simstudioai/sim/pull/4710/files
e53ac91 feat(mailer): add AWS SES and SMTP providers with auto-detect fallback waleedlatif1 May 22, 2026 https://github.com/simstudioai/sim/pull/4710/commits/e53ac911e59f1950fb7da6689e7b3f86a3cb37fb
945f94b fix(mailer): cast SES options to bridge duplicate @aws-sdk type ident… waleedlatif1 May 22, 2026 https://github.com/simstudioai/sim/pull/4710/commits/945f94b3a2aee946bc3e7ff2e7f2177e02252585
f56f78e fix(mailer): dedupe aws-sdk-sesv2, address review feedback waleedlatif1 May 22, 2026 https://github.com/simstudioai/sim/pull/4710/commits/f56f78e05176cd70506863ae0b35c91a1a5fb19f
f4b272d fix(mailer): exact sent counts in batch results, restore SES type cast waleedlatif1 May 22, 2026 https://github.com/simstudioai/sim/pull/4710/commits/f4b272df8ce5e2050cf1a131b71adf7a7e3b6b2b
111aae0 fix(mailer): annotate double-cast in ses provider for strict api-vali… waleedlatif1 May 22, 2026 https://github.com/simstudioai/sim/pull/4710/commits/111aae05900a05f9ccf1a54e31079951d0833f6d
7705d31 fix(mailer): batch degrades isUnsubscribed errors to per-entry failures waleedlatif1 May 22, 2026 https://github.com/simstudioai/sim/pull/4710/commits/7705d3196ec93bad025f19e152d5db8b1d397478
Clear filters https://github.com/simstudioai/sim/pull/4710/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4710/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4710/files
environment-variables.mdx https://github.com/simstudioai/sim/pull/4710/files#diff-33c5f3ac7599e970f9b61367338c35b7c006f8019591028b62882bd33c3c0243
.env.example https://github.com/simstudioai/sim/pull/4710/files#diff-4a29ce2c9471f5720a7b21936c0716a37c648ef653d7563bfa140153bb045284
env.ts https://github.com/simstudioai/sim/pull/4710/files#diff-7db3fc610ff89cf819c4eb69b43ec37ae18530e1861f6c322faeb62f8f48f298
mailer.test.ts https://github.com/simstudioai/sim/pull/4710/files#diff-25b2e409b63c2b4ba228f5cbae29bd8963efcffce45cebcc836dca3beb1a43e6
mailer.ts https://github.com/simstudioai/sim/pull/4710/files#diff-18e55472aee21e4390b8d923741e63620f860e017c26eddef09f68e6619fb04c
prepare.ts https://github.com/simstudioai/sim/pull/4710/files#diff-9eb28f888dcc6bb9898759ad9457b298a2cc6131462b4055bf4db9500019d485
_nodemailer.ts https://github.com/simstudioai/sim/pull/4710/files#diff-7030fc64c7f688b558cb9fb21a0db8b8d338a3b9ffe54b0c8dd2b0e059da4cc3
azure.ts https://github.com/simstudioai/sim/pull/4710/files#diff-5fdf3c619a378cf86964dbcaf2125ce24a4d0a0667e6be69c8a601f58bc50189
index.ts https://github.com/simstudioai/sim/pull/4710/files#diff-3bfd5d169d5312e844489a057bd6205e2417f85e1b45d9f86f6ab142d0eae1c8
resend.ts https://github.com/simstudioai/sim/pull/4710/files#diff-1f11caed3f706266de6ae7c9c52721fe9a86349a15f1793530750629912d3e25
ses.ts https://github.com/simstudioai/sim/pull/4710/files#diff-3d5a07200d837f41fda50c32899073c4226167ac2c4d05eebdbec904c39f152e
smtp.ts https://github.com/simstudioai/sim/pull/4710/files#diff-014aa4413ed6ee653da2834cbf3d98bc6a102c76bd2472b3a98074a12e6e1b88
types.ts https://github.com/simstudioai/sim/pull/4710/files#diff-7e6c25cf2d70e410377dc2b5a56b788831254cd99ad09057f434b627eb15a67b
values.schema.json https://github.com/simstudioai/sim/pull/4710/files#diff-3203678a723acd84dd61f119ae4b9e439b04d35a123c7918821e20c31a72c791
values.yaml https://github.com/simstudioai/sim/pull/4710/files#diff-5586790157aac5be1a3be674910d22e602e8c840abbf289d0ad31ffb5dac5cb1
apps/docs/content/docs/en/self-hosting/environment-variables.mdxhttps://github.com/simstudioai/sim/pull/4710/files#diff-33c5f3ac7599e970f9b61367338c35b7c006f8019591028b62882bd33c3c0243
View file https://github.com/simstudioai/sim/blob/7705d3196ec93bad025f19e152d5db8b1d397478/apps/docs/content/docs/en/self-hosting/environment-variables.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4710/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4710/files#diff-33c5f3ac7599e970f9b61367338c35b7c006f8019591028b62882bd33c3c0243
https://github.com/simstudioai/sim/pull/4710/files#diff-33c5f3ac7599e970f9b61367338c35b7c006f8019591028b62882bd33c3c0243
apps/sim/.env.examplehttps://github.com/simstudioai/sim/pull/4710/files#diff-4a29ce2c9471f5720a7b21936c0716a37c648ef653d7563bfa140153bb045284
View file https://github.com/simstudioai/sim/blob/7705d3196ec93bad025f19e152d5db8b1d397478/apps/sim/.env.example
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4710/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4710/files#diff-4a29ce2c9471f5720a7b21936c0716a37c648ef653d7563bfa140153bb045284
https://github.com/simstudioai/sim/pull/4710/files#diff-4a29ce2c9471f5720a7b21936c0716a37c648ef653d7563bfa140153bb045284
apps/sim/lib/core/config/env.tshttps://github.com/simstudioai/sim/pull/4710/files#diff-7db3fc610ff89cf819c4eb69b43ec37ae18530e1861f6c322faeb62f8f48f298
View file https://github.com/simstudioai/sim/blob/7705d3196ec93bad025f19e152d5db8b1d397478/apps/sim/lib/core/config/env.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4710/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4710/files#diff-7db3fc610ff89cf819c4eb69b43ec37ae18530e1861f6c322faeb62f8f48f298
https://github.com/simstudioai/sim/pull/4710/files#diff-7db3fc610ff89cf819c4eb69b43ec37ae18530e1861f6c322faeb62f8f48f298
https://github.com/simstudioai/sim/pull/4710/files#diff-7db3fc610ff89cf819c4eb69b43ec37ae18530e1861f6c322faeb62f8f48f298
apps/sim/lib/messaging/email/mailer.test.tshttps://github.com/simstudioai/sim/pull/4710/files#diff-25b2e409b63c2b4ba228f5cbae29bd8963efcffce45cebcc836dca3beb1a43e6
View file https://github.com/simstudioai/sim/blob/7705d3196ec93bad025f19e152d5db8b1d397478/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/4710/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4710/files#diff-25b2e409b63c2b4ba228f5cbae29bd8963efcffce45cebcc836dca3beb1a43e6
Please reload this pagehttps://github.com/simstudioai/sim/pull/4710/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4710/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.