I am able to release following
but how to do email, firstname, lastname. I don't see sample here
Dynamic Rendering with Template Variables
There aren't template variables for these. When you say release to provider, do you mean release to an LTI tool provider?
If so, then the names and email address can be sent if you choose "Send User Data" and then select the fields you want to send:
The names and email will then show up in: lis_person_contact_email_primary, lis_person_name_family, lis_person_name_full and lis_person_name_given
Retrieving data ...