René's URL Explorer Experiment


Title: feat(mailtrap): add Mailtrap email, contacts, and email logs integration by dr-3lo · Pull Request #7564 · simstudioai/sim · GitHub

Open Graph Title: feat(mailtrap): add Mailtrap email, contacts, and email logs integration by dr-3lo · Pull Request #7564 · simstudioai/sim

X Title: feat(mailtrap): add Mailtrap email, contacts, and email logs integration by dr-3lo · Pull Request #7564 · simstudioai/sim

Description: Summary Adds a Mailtrap integration alongside the existing email integrations (agentmail, mailgun, resend, sendgrid, smtp, gmail). Tools (apps/sim/tools/mailtrap/, 12): send_email — transactional / bulk / sandbox stream; text, HTML or template body; cc/bcc/reply-to, category, custom variables, custom headers Contacts: create_contact, get_contact, update_contact, delete_contact Contact lists: list_contact_lists, create_contact_list, get_contact_list, update_contact_list, delete_contact_list Email logs: list_email_logs, get_email_log — curated filter set with fixed operators (subject match contain/equal/empty; status/category/stream take a comma-separated any-of list). Negation, event, open/click-count and IP/domain filters are intentionally out of scope for the first version. All tools call the Mailtrap API directly over the shared tool transport with token-scoped Bearer auth. Shared response mappers and output schemas live in types.ts / utils.ts. A mailtrap-errors extractor normalizes both the sending API ({success, errors[]}) and the account API ({error} / {errors}) envelopes. Block / icon / catalog: MailtrapBlock + MailtrapBlockMeta, theme-aware MailtrapIcon, regenerated tool metadata and docs, synced integration catalog. Type of Change Bug fix New feature Breaking change Documentation (generated integration page + intro section) Other: ___________ Testing Automated — apps/sim/tools/mailtrap/mailtrap.test.ts, 69 cases: address parsing ("Name ", comma lists, quotes), id-list and JSON-record parsing send_email stream routing (transactional/bulk/sandbox host + sandbox-id path), invalid stream / missing sandbox id / empty subject / missing body guards, template-only send, recipient parsing across to/cc/bcc email-logs deep-object query building — subjectMatch contain/equal/empty, comma-separated status/category sent as value[], empty-CSV drop, URL encoding response normalization for every tool (contacts, lists, logs) incl. malformed / empty / non-JSON bodies the mailtrap-errors extractor across its three envelope shapes a transformResponse cohort invariant asserting all 12 tools tolerate an empty and a non-JSON 200 body Run: cd apps/sim && bunx vitest run tools/mailtrap/mailtrap.test.ts Repo checks (green): type-check, biome, tool-metadata:check, docs:check, check:canvas-sentences, check:tool-request-boundary, check:api-validation, check:bare-icons. Manual — against a real Mailtrap account on a local instance: sent a transactional email; sent one through the sandbox stream with reply-to / cc / category set listed contact lists; created a list, then deleted it created a contact, get contact, then deleted it get contact\list, update contact\list, delete contact\list with a non-existent id → 404 handled and surfaced Reviewer focus: error-extractor ordering in apps/sim/tools/error-extractors.ts the shared output-schema constants in types.ts (pattern mirrors tools/harmonic/types.ts) 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) Screenshots/Videos

Open Graph Description: Summary Adds a Mailtrap integration alongside the existing email integrations (agentmail, mailgun, resend, sendgrid, smtp, gmail). Tools (apps/sim/tools/mailtrap/, 12): send_email — transactional ...

X Description: Summary Adds a Mailtrap integration alongside the existing email integrations (agentmail, mailgun, resend, sendgrid, smtp, gmail). Tools (apps/sim/tools/mailtrap/, 12): send_email — transactional ...

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

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:cb7ac027-ac65-4be2-5425-5f31235e80cb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD896:345450:580057:7A4511:6AFB3E62
html-safe-nonce0743af77f80dce6f12607058839ecbcb47aac9e54c4f4c6d7d85c0c8724dfb90
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODk2OjM0NTQ1MDo1ODAwNTc6N0E0NTExOjZBRkIzRTYyIiwidmlzaXRvcl9pZCI6IjQ5NTU4MDUyNjgxOTg1MDYwODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac80a5045347ed1c279e8e654d867008f801fdffb6cd32de39c288168f6a01c7a8
hovercard-subject-tagpull_request:4463557828
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/7564/files
twitter:imagehttps://avatars.githubusercontent.com/u/228899109?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/228899109?s=400&v=4
og:image:altSummary Adds a Mailtrap integration alongside the existing email integrations (agentmail, mailgun, resend, sendgrid, smtp, gmail). Tools (apps/sim/tools/mailtrap/, 12): send_email — transactional ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2169b0dfbef67ed6b128074a5ed45bb7d5d1859783b10178b09a7765ad5f3693
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
release3b4fc8df5ef1c6757e733a23e6b81b6725021823
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7564/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7564%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%2F7564%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/7564/files
Reloadhttps://github.com/simstudioai/sim/pull/7564/files
Reloadhttps://github.com/simstudioai/sim/pull/7564/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests202 (202)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
dr-3lohttps://github.com/dr-3lo
simstudioai:staginghttps://github.com/simstudioai/sim/tree/staging
dr-3lo:feat/mailtrap-toolhttps://github.com/dr-3lo/sim/tree/feat/mailtrap-tool
Conversation 20 https://github.com/simstudioai/sim/pull/7564
Commits 2 https://github.com/simstudioai/sim/pull/7564/commits
Checks 2 https://github.com/simstudioai/sim/pull/7564/checks
Files changed https://github.com/simstudioai/sim/pull/7564/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7564/files
feat(mailtrap): add Mailtrap email, contacts, and email logs integration https://github.com/simstudioai/sim/pull/7564/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/7564/files
f454c2f feat(mailtrap): add Mailtrap email, contacts, and email logs integration dr-3lo Sep 4, 2026 https://github.com/simstudioai/sim/pull/7564/commits/f454c2f004586183c1f869477ca41dc8e14d2f43
34b47aa fix(mailtrap): validate nested payloads and unbalanced address delimi… dr-3lo Sep 7, 2026 https://github.com/simstudioai/sim/pull/7564/commits/34b47aa44c460a7be21bf547b9e615621ecccd56
Clear filters https://github.com/simstudioai/sim/pull/7564/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7564/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7564/files
icons.tsx https://github.com/simstudioai/sim/pull/7564/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
icon-mapping.ts https://github.com/simstudioai/sim/pull/7564/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
mailtrap.mdx https://github.com/simstudioai/sim/pull/7564/files#diff-4d3fc7b899de3b80f3ff2a4449cbf009439717127e1f85cc8ead7e17e5f2681f
meta.json https://github.com/simstudioai/sim/pull/7564/files#diff-24a21003e8df5501e83b185fba8d24035ff1e2225401cc04ad74582285cd21c6
mailtrap.ts https://github.com/simstudioai/sim/pull/7564/files#diff-3f03d8a8def7d66dad1027de3ca57b3c416ea2a9edb09ac817bc9e7fc2f6417e
registry-maps.ts https://github.com/simstudioai/sim/pull/7564/files#diff-989c47910e6b401eace95892b8e5119d99351912cc66928fe7dffcbaa6e086d7
icons.tsx https://github.com/simstudioai/sim/pull/7564/files#diff-75502961b6b1b69fd8b140643edfe13c66790af9f167e9a545cbcff6b2e9a20d
icon-mapping.ts https://github.com/simstudioai/sim/pull/7564/files#diff-31b9f59a480a2b6cc7d98ac5076f304e142b3a42be1ef966bfebd4643ba8c7af
error-extractors.ts https://github.com/simstudioai/sim/pull/7564/files#diff-9ffaaa65d1e705249ef4942008af48a2eab415856b25d94ceefa24a2fd1c5ff2
tool-ids.ts https://github.com/simstudioai/sim/pull/7564/files#diff-fde8cbb4483aa4a8015ca3e576ab1c9b472d1c97c521fa67e81b469a5297bdfb
tool-metadata.ts https://github.com/simstudioai/sim/pull/7564/files#diff-3a953213cad2b14799015043b75c22cd4815397d3a43ccbf138816bedfdfccd7
tool-outputs.ts https://github.com/simstudioai/sim/pull/7564/files#diff-9fd709d7ce13d883503da15dae272e6c0a0a4fc25d7ec475f4ce6875c097b6aa
create_contact.ts https://github.com/simstudioai/sim/pull/7564/files#diff-aaf0fa2dec89a1ccf74500bea808b71624175b70339711543569871a867ad7f9
create_contact_list.ts https://github.com/simstudioai/sim/pull/7564/files#diff-cb25fdedf8b9599367d29aab7b973ae84791f9ab77b09df2a569b93162a86e39
delete_contact.ts https://github.com/simstudioai/sim/pull/7564/files#diff-9d04c9ddfa3a0ba6cae5ce89d2d8d3355d53f02a46133cc229e815b7b511abd6
delete_contact_list.ts https://github.com/simstudioai/sim/pull/7564/files#diff-8abdd0e730183237763a9361a645f38640de67987ef5a4408551a2513cfe294b
get_contact.ts https://github.com/simstudioai/sim/pull/7564/files#diff-1b987df3a7d2435667feece7f2d809aaae0ca498c688ca3869cfac3bdcf8b6a1
get_contact_list.ts https://github.com/simstudioai/sim/pull/7564/files#diff-d7a18872048d6af7089d8a43cdd6e39dcda74884461b4d2e37b18c1559c3f824
get_email_log.ts https://github.com/simstudioai/sim/pull/7564/files#diff-5d84b807de06d9e6d066582806109c2bc2d7e3f974822e9cc07bf72aa31c97cf
index.ts https://github.com/simstudioai/sim/pull/7564/files#diff-11ff2abd2e06f3d61e3e160306d992ddbca3a6c226599c410b19d7cf86459aab
list_contact_lists.ts https://github.com/simstudioai/sim/pull/7564/files#diff-358c5bf148480590cd19ee235cf1ac9b8653b30d658d33e67f3a87da065fc342
list_email_logs.ts https://github.com/simstudioai/sim/pull/7564/files#diff-829aaeaa291d9493b5b35804cffe16e24ffe65d7527b7fb1322e6b0a3435ab96
mailtrap.test.ts https://github.com/simstudioai/sim/pull/7564/files#diff-f767cdb0e690c886a96fb3d4505f75f4c1b43baa45a25120ad50f028d6dce13e
send_email.ts https://github.com/simstudioai/sim/pull/7564/files#diff-c9f4b39ddc658ea906476d63f766fbe570e161e3d1d92ede6062de222cafc084
types.ts https://github.com/simstudioai/sim/pull/7564/files#diff-138c9eae15ad0a88c49f4e39e8d542e0cb783414d5f3d37d24c2fe21be5843ed
update_contact.ts https://github.com/simstudioai/sim/pull/7564/files#diff-036c31b7204777c91ace76c389d3bec168ab28cf6ab8348c6643b9d7da4a9ec4
update_contact_list.ts https://github.com/simstudioai/sim/pull/7564/files#diff-8cd8e6981ec623a1c06cca785f095b531e1b1a6a2994f9679c977433c6a7976c
utils.ts https://github.com/simstudioai/sim/pull/7564/files#diff-fee05e4be0a81fa003776d01d5d4b74a20af50cbf9effa2f51b2474206c66f37
registry.ts https://github.com/simstudioai/sim/pull/7564/files#diff-a05e54887bf05477726b00df4183dd4a3fa0fd1f82b867bbf156e1b6a6d7e3fa
integrations.json https://github.com/simstudioai/sim/pull/7564/files#diff-3c0cdbab0250ae3bd5869a2c3ce5c3f4f548d896e4fbbbc82a01ffc0f588a8cc
apps/docs/components/icons.tsxhttps://github.com/simstudioai/sim/pull/7564/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
View file https://github.com/simstudioai/sim/blob/34b47aa44c460a7be21bf547b9e615621ecccd56/apps/docs/components/icons.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7564/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7564/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
https://github.com/simstudioai/sim/pull/7564/files#diff-ad82ea6f4020b7b9555fc40c56c93b82fb246b727c105f8e1e0da9c03dc49274
apps/docs/components/ui/icon-mapping.tshttps://github.com/simstudioai/sim/pull/7564/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
View file https://github.com/simstudioai/sim/blob/34b47aa44c460a7be21bf547b9e615621ecccd56/apps/docs/components/ui/icon-mapping.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7564/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7564/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
https://github.com/simstudioai/sim/pull/7564/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
https://github.com/simstudioai/sim/pull/7564/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
https://github.com/simstudioai/sim/pull/7564/files#diff-193abeb0603365b837c7d5ba8637be7ef998dde35d5746dfb8fa954fe8b1fcaa
apps/docs/content/docs/integrations/mailtrap.mdxhttps://github.com/simstudioai/sim/pull/7564/files#diff-4d3fc7b899de3b80f3ff2a4449cbf009439717127e1f85cc8ead7e17e5f2681f
View file https://github.com/simstudioai/sim/blob/34b47aa44c460a7be21bf547b9e615621ecccd56/apps/docs/content/docs/integrations/mailtrap.mdx
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/7564/files
apps/docs/content/docs/integrations/meta.jsonhttps://github.com/simstudioai/sim/pull/7564/files#diff-24a21003e8df5501e83b185fba8d24035ff1e2225401cc04ad74582285cd21c6
View file https://github.com/simstudioai/sim/blob/34b47aa44c460a7be21bf547b9e615621ecccd56/apps/docs/content/docs/integrations/meta.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7564/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7564/files#diff-24a21003e8df5501e83b185fba8d24035ff1e2225401cc04ad74582285cd21c6
https://github.com/simstudioai/sim/pull/7564/files#diff-24a21003e8df5501e83b185fba8d24035ff1e2225401cc04ad74582285cd21c6
Please reload this pagehttps://github.com/simstudioai/sim/pull/7564/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.