Confirmation email appointments+

I can't get confirmation email to send once an appointment has been booked.
I'm not sure I am setting it up correctly.
Can you explain what I need to do or direct me to the documentation please? I have had a look but have found nothing that explains it fully.