Referring to fields of a record within function for Custom Actions for each record of a Report

Referring to fields of a record within function for Custom Actions for each record of a Report

I have created a custom action which displays a button next to each record, say, "Email record to user". 

I have successfully written a function & I'm getting the email. But how do I get it to email the record field details? Best I can do is this:

In the function builder if I try to add an expression in the body I get variables under a "Collections" tab but I don't get how to use them. I have included the entire form as an input argument to the function as a "Form Object"

I seem to only get an ID in my email. e.g. 


Shipping_Label[ ID in (3029559000000101049) ]


test

3029559000000062010

I could typically do this as  Dear <%=input.Customer_Name%> when (say) I send an on success email but in this case everything seems wrapped inside a function.