Code to send email to user complete

The code that controls sending email is now complete. The email message
includes date and time.