René's URL Explorer Experiment


Title: feat(gmail): add edit draft and update label tools by waleedlatif1 · Pull Request #4374 · simstudioai/sim · GitHub

Open Graph Title: feat(gmail): add edit draft and update label tools by waleedlatif1 · Pull Request #4374 · simstudioai/sim

X Title: feat(gmail): add edit draft and update label tools by waleedlatif1 · Pull Request #4374 · simstudioai/sim

Description: Summary Add gmail_edit_draft_v2 — updates a Gmail draft in place via PUT /drafts/{id} so Mothership no longer has to delete and recreate (which churns the draft ID) Add gmail_update_label_v2 — partial label updates via PATCH /labels/{id} (rename, change visibility) without losing the label ID Wire Edit Draft operation into the Gmail block (V2) reusing existing send/draft fields plus a draftId input Uses existing gmail.modify / gmail.labels scopes — no re-auth needed Type of Change New feature Testing Tested manually. Validated both tools against the official Gmail API docs (drafts.update and labels.patch) and confirmed wiring across tool registry, barrel exports, and block definition. 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 gmail_edit_draft_v2 — updates a Gmail draft in place via PUT /drafts/{id} so Mothership no longer has to delete and recreate (which churns the draft ID) Add gmail_update_label_v2 — par...

X Description: Summary Add gmail_edit_draft_v2 — updates a Gmail draft in place via PUT /drafts/{id} so Mothership no longer has to delete and recreate (which churns the draft ID) Add gmail_update_label_v2 — par...

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

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:5e480ae1-0220-3401-592f-bd57fdaf7f6e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA182:1BD5CA:E5BC55:13AE532:6AFB5DEE
html-safe-nonce8d2922f6f8b338a3ed6af2faf09ca5544f59ffc37862d0c66ae56f8c211d1a2a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTgyOjFCRDVDQTpFNUJDNTU6MTNBRTUzMjo2QUZCNURFRSIsInZpc2l0b3JfaWQiOiI4NzQ4NTg0OTc3Njk3NTYyMDk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2080afb65a25959d94c18341aa3bd088cc49de9c165d6046e73b9ebf1b11f648
hovercard-subject-tagpull_request:3612489420
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/4374/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 Add gmail_edit_draft_v2 — updates a Gmail draft in place via PUT /drafts/{id} so Mothership no longer has to delete and recreate (which churns the draft ID) Add gmail_update_label_v2 — par...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
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
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4374/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4374%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%2F4374%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/4374/files
Reloadhttps://github.com/simstudioai/sim/pull/4374/files
Reloadhttps://github.com/simstudioai/sim/pull/4374/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)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/gmail-edit-draft-v2https://github.com/simstudioai/sim/tree/waleedlatif1/gmail-edit-draft-v2
Conversation 16 https://github.com/simstudioai/sim/pull/4374
Commits 6 https://github.com/simstudioai/sim/pull/4374/commits
Checks 12 https://github.com/simstudioai/sim/pull/4374/checks
Files changed https://github.com/simstudioai/sim/pull/4374/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4374/files
feat(gmail): add edit draft and update label tools https://github.com/simstudioai/sim/pull/4374/files#top
Show all changes 6 commits https://github.com/simstudioai/sim/pull/4374/files
b4b3a13 feat(gmail): add edit draft and update label tools waleedlatif1 May 1, 2026 https://github.com/simstudioai/sim/pull/4374/commits/b4b3a1360c534183eed1441b89453f8d611228d7
8802be8 fix(gmail): correct legacy block access list and docs heading for edi… waleedlatif1 May 1, 2026 https://github.com/simstudioai/sim/pull/4374/commits/8802be8a4bed01e73b3dfa07ad48ebf0f9a4cc40
d8e3c56 fix(gmail): use shared contract for edit-draft route waleedlatif1 May 1, 2026 https://github.com/simstudioai/sim/pull/4374/commits/d8e3c56812381fda83bd55d74c8529ea8f3220e0
eeba859 regen docs waleedlatif1 May 1, 2026 https://github.com/simstudioai/sim/pull/4374/commits/eeba8593391699e94ae63857cda2f7e177f55752
44b97ad fix(knowledge): inline reranker model list in description for doc gen… waleedlatif1 May 1, 2026 https://github.com/simstudioai/sim/pull/4374/commits/44b97adfac7b168b269c23be0490cfe0d37dd7f1
aae653f resolve waleedlatif1 May 1, 2026 https://github.com/simstudioai/sim/pull/4374/commits/aae653f398c3cd1fdb142466423e847670b3cbf9
Clear filters https://github.com/simstudioai/sim/pull/4374/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4374/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4374/files
gmail.mdx https://github.com/simstudioai/sim/pull/4374/files#diff-3b5299cb6d543ea9cc3ceac80170c4bd8f9a015be103e277bb625c2ce4aa081e
outlook.mdx https://github.com/simstudioai/sim/pull/4374/files#diff-67e735b6166f3c7e41ce673ce18c9f0842963f7e633b808a2476cbe7ea5b8676
linear.mdx https://github.com/simstudioai/sim/pull/4374/files#diff-37c643dcea1d52c08a7fd31c2cba3d85029f3e8e75edcfe1972b4784e60a7aaf
integrations.json https://github.com/simstudioai/sim/pull/4374/files#diff-d4e27d7c64352857450eaee621ebae4b71f9d84d45e137b7573fd9dcd66c1c96
route.ts https://github.com/simstudioai/sim/pull/4374/files#diff-c5c405a889d3e48c1bb6354e1d42f959cf2a85be469ff77b1359b2fb5ec6c65e
gmail.ts https://github.com/simstudioai/sim/pull/4374/files#diff-919414786fafc7f7b4a7d34f585ac32c05e69b5318fc4fcac34cc00ecba15f27
google-tools.ts https://github.com/simstudioai/sim/pull/4374/files#diff-79ac4d593e415f3217243362c108af88679eb6d917a164c85fa6ae73f60b1df4
edit_draft.ts https://github.com/simstudioai/sim/pull/4374/files#diff-fdeeb3ba2e61672696fff6e9b492fc8dc653d53372c160ab4368941db5fa474b
index.ts https://github.com/simstudioai/sim/pull/4374/files#diff-47293438aed2e044bfe116a74037ef929a338e0c321a17a9121b3cdc941f9ec2
update_label.ts https://github.com/simstudioai/sim/pull/4374/files#diff-fd39089474addbb7b175652b8c9b89cad178a32faaf753cc4354e4399e4f03ee
search.ts https://github.com/simstudioai/sim/pull/4374/files#diff-805fa241cb982c0e7829e3592387287ed44b4f0bba0c6b32d6de312938e86e62
registry.ts https://github.com/simstudioai/sim/pull/4374/files#diff-a05e54887bf05477726b00df4183dd4a3fa0fd1f82b867bbf156e1b6a6d7e3fa
check-api-validation-contracts.ts https://github.com/simstudioai/sim/pull/4374/files#diff-48ae6a4d0c1f820d5b644522d25742bb29af758bc8350f1a3cf3f8afa0bd00b0
apps/docs/content/docs/en/tools/gmail.mdxhttps://github.com/simstudioai/sim/pull/4374/files#diff-3b5299cb6d543ea9cc3ceac80170c4bd8f9a015be103e277bb625c2ce4aa081e
View file https://github.com/simstudioai/sim/blob/aae653f398c3cd1fdb142466423e847670b3cbf9/apps/docs/content/docs/en/tools/gmail.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4374/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4374/files#diff-3b5299cb6d543ea9cc3ceac80170c4bd8f9a015be103e277bb625c2ce4aa081e
Please reload this pagehttps://github.com/simstudioai/sim/pull/4374/files
https://github.com/simstudioai/sim/pull/4374/files#diff-3b5299cb6d543ea9cc3ceac80170c4bd8f9a015be103e277bb625c2ce4aa081e
apps/docs/content/docs/en/tools/outlook.mdxhttps://github.com/simstudioai/sim/pull/4374/files#diff-67e735b6166f3c7e41ce673ce18c9f0842963f7e633b808a2476cbe7ea5b8676
View file https://github.com/simstudioai/sim/blob/aae653f398c3cd1fdb142466423e847670b3cbf9/apps/docs/content/docs/en/tools/outlook.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4374/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4374/files#diff-67e735b6166f3c7e41ce673ce18c9f0842963f7e633b808a2476cbe7ea5b8676
https://github.com/simstudioai/sim/pull/4374/files#diff-67e735b6166f3c7e41ce673ce18c9f0842963f7e633b808a2476cbe7ea5b8676
apps/docs/content/docs/en/triggers/linear.mdxhttps://github.com/simstudioai/sim/pull/4374/files#diff-37c643dcea1d52c08a7fd31c2cba3d85029f3e8e75edcfe1972b4784e60a7aaf
View file https://github.com/simstudioai/sim/blob/aae653f398c3cd1fdb142466423e847670b3cbf9/apps/docs/content/docs/en/triggers/linear.mdx
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/simstudioai/sim/pull/4374/files
apps/sim/app/(landing)/integrations/data/integrations.jsonhttps://github.com/simstudioai/sim/pull/4374/files#diff-d4e27d7c64352857450eaee621ebae4b71f9d84d45e137b7573fd9dcd66c1c96
View file https://github.com/simstudioai/sim/blob/aae653f398c3cd1fdb142466423e847670b3cbf9/apps/sim/app/(landing)/integrations/data/integrations.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4374/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/4374/files#diff-d4e27d7c64352857450eaee621ebae4b71f9d84d45e137b7573fd9dcd66c1c96
https://github.com/simstudioai/sim/pull/4374/files#diff-d4e27d7c64352857450eaee621ebae4b71f9d84d45e137b7573fd9dcd66c1c96
https://github.com/simstudioai/sim/pull/4374/files#diff-d4e27d7c64352857450eaee621ebae4b71f9d84d45e137b7573fd9dcd66c1c96
https://github.com/simstudioai/sim/pull/4374/files#diff-d4e27d7c64352857450eaee621ebae4b71f9d84d45e137b7573fd9dcd66c1c96
apps/sim/app/api/tools/gmail/edit-draft/route.tshttps://github.com/simstudioai/sim/pull/4374/files#diff-c5c405a889d3e48c1bb6354e1d42f959cf2a85be469ff77b1359b2fb5ec6c65e
View file https://github.com/simstudioai/sim/blob/aae653f398c3cd1fdb142466423e847670b3cbf9/apps/sim/app/api/tools/gmail/edit-draft/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/4374/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/4374/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/4374/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.