René's URL Explorer Experiment


Title: Add Resend email agent with Slack approval example by jackbridger · Pull Request #157 · triggerdotdev/examples · GitHub

Open Graph Title: Add Resend email agent with Slack approval example by jackbridger · Pull Request #157 · triggerdotdev/examples

X Title: Add Resend email agent with Slack approval example by jackbridger · Pull Request #157 · triggerdotdev/examples

Description: Adds resend-slack-email-agent: an AI agent that drafts replies to a Resend Inboxes inbox and sends nothing until you approve it in Slack. Each email chain becomes a thread in your Slack DMs with the bot, with the draft and Send / Don't send buttons. Replying in the thread rewrites the draft. One email-thread run per chain waits on a wait token tagged with the email thread and the Slack message, so the hosted Resend and Slack webhooks can find it and wake it. The Slack app is DM-only, the model has no tools, email text is escaped before it reaches Slack, and ALLOWED_SENDER_DOMAINS can drop unknown senders before they cost a model call. Hosted webhooks are in public beta; packages are pinned to 4.8.0-webhooks.20261020092920. Typechecks clean. Tested end to end in dev against a real Resend inbox and Slack workspace: new email, feedback redraft, Send. Also adds a row to the root README table. 🤖 Generated with Claude Code Summary by CodeRabbit New Features Added an example email assistant that drafts replies to Resend inbox messages and requests approval in Slack before sending. Review drafts, approve or discard them, and provide feedback or updated context through Slack. Configure allowed sender domains to filter which incoming emails are processed. Includes setup guidance for local development and deployment, plus sample configuration for required credentials. New incoming messages can update an active draft, and replies are sent only after approval.

Open Graph Description: Adds resend-slack-email-agent: an AI agent that drafts replies to a Resend Inboxes inbox and sends nothing until you approve it in Slack. Each email chain becomes a thread in your Slack DMs with t...

X Description: Adds resend-slack-email-agent: an AI agent that drafts replies to a Resend Inboxes inbox and sends nothing until you approve it in Slack. Each email chain becomes a thread in your Slack DMs with t...

Opengraph URL: https://github.com/triggerdotdev/examples/pull/157

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:54e70056-b449-9fb3-eb5c-872d3371c044
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C9C:71C2F:FE4C6A:15CF63D:6AFB653C
html-safe-nonce47886139def8d632b04f77a18d12e741c9c75e0b7c593f2404e22f88351dba76
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzlDOjcxQzJGOkZFNEM2QToxNUNGNjNEOjZBRkI2NTNDIiwidmlzaXRvcl9pZCI6IjI4MTg5MTE0NTkwNjcyNTgxNzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4ff36006c2ee14fee7aa15d969f58eeaec4310de5de5362132de697cdfe828da
hovercard-subject-tagpull_request:5034822566
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/triggerdotdev/examples/pull/157/files
twitter:imagehttps://avatars.githubusercontent.com/u/7283908?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/7283908?s=400&v=4
og:image:altAdds resend-slack-email-agent: an AI agent that drafts replies to a Resend Inboxes inbox and sends nothing until you approve it in Slack. Each email chain becomes a thread in your Slack DMs with t...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/triggerdotdev/examples git https://github.com/triggerdotdev/examples.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id845543643
octolytics-dimension-repository_nwotriggerdotdev/examples
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id845543643
octolytics-dimension-repository_network_root_nwotriggerdotdev/examples
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/triggerdotdev/examples/pull/157/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Fexamples%2Fpull%2F157%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%2Ftriggerdotdev%2Fexamples%2Fpull%2F157%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=triggerdotdev%2Fexamples
Reloadhttps://github.com/triggerdotdev/examples/pull/157/files
Reloadhttps://github.com/triggerdotdev/examples/pull/157/files
Reloadhttps://github.com/triggerdotdev/examples/pull/157/files
triggerdotdevhttps://github.com/triggerdotdev
exampleshttps://github.com/triggerdotdev/examples
Codehttps://github.com/triggerdotdev/examples
Issueshttps://github.com/triggerdotdev/examples/issues
Pull requests45 (45)https://github.com/triggerdotdev/examples/pulls
Actionshttps://github.com/triggerdotdev/examples/actions
Projectshttps://github.com/triggerdotdev/examples/projects
Security and qualityhttps://github.com/triggerdotdev/examples/security
Insightshttps://github.com/triggerdotdev/examples/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Fexamples%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Fexamples%2Fissues%2Fnew%2Fchoose
jackbridgerhttps://github.com/jackbridger
triggerdotdev:mainhttps://github.com/triggerdotdev/examples/tree/main
jackbridger:docs/resend-slack-email-agenthttps://github.com/jackbridger/examples/tree/docs/resend-slack-email-agent
Conversation 17 https://github.com/triggerdotdev/examples/pull/157
Commits 3 https://github.com/triggerdotdev/examples/pull/157/commits
Checks 0 https://github.com/triggerdotdev/examples/pull/157/checks
Files changed https://github.com/triggerdotdev/examples/pull/157/files
Please reload this pagehttps://github.com/triggerdotdev/examples/pull/157/files
Add Resend email agent with Slack approval example https://github.com/triggerdotdev/examples/pull/157/files#top
Show all changes 3 commits https://github.com/triggerdotdev/examples/pull/157/files
a50a924 Add Resend email agent with Slack approval example Oct 27, 2026 https://github.com/triggerdotdev/examples/pull/157/commits/a50a9245e4734ed6e6fa80f2d4e7f407b98e3c44
82e5f8b Webhooks are in public beta, no access needed Oct 27, 2026 https://github.com/triggerdotdev/examples/pull/157/commits/82e5f8bc426fbde59c22fcac6bd36ecd523f15ba
4c3f0a2 Address review: fence email tags, filter thread senders, one reply pe… Oct 27, 2026 https://github.com/triggerdotdev/examples/pull/157/commits/4c3f0a28433069067d667cc4046ad007a5c79a9f
Clear filters https://github.com/triggerdotdev/examples/pull/157/files
Please reload this pagehttps://github.com/triggerdotdev/examples/pull/157/files
Please reload this pagehttps://github.com/triggerdotdev/examples/pull/157/files
README.md https://github.com/triggerdotdev/examples/pull/157/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
.env.example https://github.com/triggerdotdev/examples/pull/157/files#diff-cf6c81d7d28cb7fe060cc5eceb57ea4251ec3037ef9ba23f21f46b2a9ae9fdc6
.gitignore https://github.com/triggerdotdev/examples/pull/157/files#diff-c265d5f48f78ea606148894fadab0fdcb45958d1cb2d963a72f6c874665762cc
README.md https://github.com/triggerdotdev/examples/pull/157/files#diff-472f34ece88e40d63ccf4232b1416d12ddc9793f4ab8239400155a60cc310bce
package.json https://github.com/triggerdotdev/examples/pull/157/files#diff-31f9885fae86234a11a79f455463caec6ed89be547b2111467e4359813e36471
pnpm-lock.yaml https://github.com/triggerdotdev/examples/pull/157/files#diff-023cf622da0bd37713b116918b567a01626494ee4d722e46d952798a218ff0c5
manifest.yaml https://github.com/triggerdotdev/examples/pull/157/files#diff-2b5fb0c57f683156f91613fa256ff933d43e7f36af8336e1ef4e9ed13e019249
draft.ts https://github.com/triggerdotdev/examples/pull/157/files#diff-0f7f5b99426268a82c061377a6e2c4c8f9474ebbc36cfa3f87929dbe37e538a7
email-thread.ts https://github.com/triggerdotdev/examples/pull/157/files#diff-5a0f922f45790862f289c0f44ab23979da04257ce693b006f770cfe4853a3357
endpoints.ts https://github.com/triggerdotdev/examples/pull/157/files#diff-b3159ab39eb93dcf3e854b26d88d67e4da7c832ab83b8c131a961f7a36148d47
inbound.ts https://github.com/triggerdotdev/examples/pull/157/files#diff-68efe12a79baece51efbbfe017441e44006416e71005ebf30189f1ef0be9bf34
resend.ts https://github.com/triggerdotdev/examples/pull/157/files#diff-57786bf3b3cf2bd37c454cb87013e2b066691a321237763d66b54ea293340103
senders.ts https://github.com/triggerdotdev/examples/pull/157/files#diff-879d401fa786ce50242158c0e4707d62dc68d7f5e075d312fa91b71aba8e288e
slack.ts https://github.com/triggerdotdev/examples/pull/157/files#diff-b3b0fb90d04c875eab44e7161026439cc63383eb6c7c87097ed20ab86e37545a
trigger.config.ts https://github.com/triggerdotdev/examples/pull/157/files#diff-e23ac7477ad13b5c8c113adee45071a2809f94e5e2e8aa06acce64db1c8ece2f
tsconfig.json https://github.com/triggerdotdev/examples/pull/157/files#diff-795adb7ae03823cb3f6e8a8a115dcd79f4918189f55085c71cb663c7696229f4
README.mdhttps://github.com/triggerdotdev/examples/pull/157/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/triggerdotdev/examples/blob/4c3f0a28433069067d667cc4046ad007a5c79a9f/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/examples/pull/157/{{ revealButtonHref }}
https://github.com/triggerdotdev/examples/pull/157/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/triggerdotdev/examples/pull/157/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
resend-slack-email-agent/.env.examplehttps://github.com/triggerdotdev/examples/pull/157/files#diff-cf6c81d7d28cb7fe060cc5eceb57ea4251ec3037ef9ba23f21f46b2a9ae9fdc6
View file https://github.com/triggerdotdev/examples/blob/4c3f0a28433069067d667cc4046ad007a5c79a9f/resend-slack-email-agent/.env.example
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/examples/pull/157/{{ revealButtonHref }}
resend-slack-email-agent/.gitignorehttps://github.com/triggerdotdev/examples/pull/157/files#diff-c265d5f48f78ea606148894fadab0fdcb45958d1cb2d963a72f6c874665762cc
View file https://github.com/triggerdotdev/examples/blob/4c3f0a28433069067d667cc4046ad007a5c79a9f/resend-slack-email-agent/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/examples/pull/157/{{ revealButtonHref }}
resend-slack-email-agent/README.mdhttps://github.com/triggerdotdev/examples/pull/157/files#diff-472f34ece88e40d63ccf4232b1416d12ddc9793f4ab8239400155a60cc310bce
View file https://github.com/triggerdotdev/examples/blob/4c3f0a28433069067d667cc4046ad007a5c79a9f/resend-slack-email-agent/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/examples/pull/157/{{ revealButtonHref }}
resend-slack-email-agent/package.jsonhttps://github.com/triggerdotdev/examples/pull/157/files#diff-31f9885fae86234a11a79f455463caec6ed89be547b2111467e4359813e36471
View file https://github.com/triggerdotdev/examples/blob/4c3f0a28433069067d667cc4046ad007a5c79a9f/resend-slack-email-agent/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/examples/pull/157/{{ revealButtonHref }}
Please reload this pagehttps://github.com/triggerdotdev/examples/pull/157/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.