RPC send email example?

Hi, I’m trying to use this documentation to be able to emails from my project in Unity.
Nakama: Sending Email Using SendGrid | Heroic Labs Documentation

I don’t quite understand (very new to typescript) how to include these variables in an RPC call in that I can then call from Unity. Can anyone provide an example of what it would look like?
Thank you in advance!

Hello @crowie,

You can see an example of an RPC set up here: Nakama: Code Samples | Heroic Labs Documentation, you’d just set the variables in the example you linked in the body of your RPC function.

Hope this helps.