Skip to content

feat(slack): expose user email in message.author#239

Open
Seventy7dot2 wants to merge 2 commits intovercel:mainfrom
Seventy7dot2:main
Open

feat(slack): expose user email in message.author#239
Seventy7dot2 wants to merge 2 commits intovercel:mainfrom
Seventy7dot2:main

Conversation

@Seventy7dot2
Copy link

Summary

Resolves #237

Adds support for exposing Slack user email in message.author.email
when the users:read.email scope is granted.

Test plan

  • Created a Slack app with the following OAuth scopes:
    • users:read
    • users:read.email
  • Installed the app in a test Slack workspace.
  • Triggered message events (app_mention and message) to ensure user resolution is performed by the SDK.
  • Verified that the user's email is correctly populated in message.author.email.
  • Confirmed that when the users:read.email scope is not granted, the email field remains undefined and existing behavior is unchanged.
  • Ensured no breaking changes to the existing user object structure.

@vercel
Copy link
Contributor

vercel bot commented Mar 14, 2026

@Seventy7dot2 is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Slack Adapter: Support fetching Slack user email (users:read.email)

1 participant