i want to automatically send an email when a new user has registered to email them there name and password

as well as this ..when the user gets the email
its sets up an appointment in there calender.

ie on my registration form i have
username
password
email
appointment date

fields
and i want to setup a function that emails them the details and puts the details into the appropraiate
appointment date on there email calender

like using outlook and setting up an apointment
please any idea on this has it even been done??