You can get JSON object with the latest feature of OpenAI called Function Calls. You can use this JSON object to send emails to your users.
Hello, I am a chatbot. I am here to help you with your questions.