I am building a Teams Bot which needs to send out Adaptive Cards to users.
When the bot is installed, i am sending a Welcome message to the user. From the welcome message, i am able to get the user's Teams ID using activity.from.id.
From ID::29:1O_abckkskldjflkjfslxxxxxxxx
With this id, i tried to get the User Details using
const member=TeamsInfo.getMember(context, context.activity.from.id);
However I am still unable to get the user details.
How to get the email id of the user so that in future i can send notifications to the user ?