The app will pass an email address and a pin to the function. The function will then email the pin to that email address.