Retrieve email correctly from user doc in sendEmail