# Access Authenticated Users Email Address in Lambda Function

**URL:** <https://discourse.sst.dev/t/access-authenticated-users-email-address-in-lambda-function/2915>\
**Category:** General\
**Created:** [January 18, 2024, 12:59am UTC](https://discourse.sst.dev/t/access-authenticated-users-email-address-in-lambda-function/2915 "2024-01-18T00:59:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommykennedy](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/tommykennedy/32/1515_2.png) [@tommykennedy](https://discourse.sst.dev/u/tommykennedy)\
**Post date:** [January 18, 2024, 12:59am UTC](https://discourse.sst.dev/t/access-authenticated-users-email-address-in-lambda-function/2915/1 "2024-01-18T00:59:18Z")

</div>

Hi,

I want to access the authenticated users email address in a AWS Lambda function. How do I enable cognito user details to be passed into the event object?

e.g. let email = event.requestContext.authorizer?.claims?.email;

---

<div class="post-metadata">

**Author:** ![tommykennedy](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/tommykennedy/32/1515_2.png) [@tommykennedy](https://discourse.sst.dev/u/tommykennedy)\
**Post date:** [January 20, 2024, 9:27am UTC](https://discourse.sst.dev/t/access-authenticated-users-email-address-in-lambda-function/2915/2 "2024-01-20T09:27:12Z")

</div>

Can anybody help to explain how using the SST Guide I would be able to access stored users attributes in my lambda functions? Please
