Email notification setup.

Added controller for sending emails, as well as added code to send an email to the carer if the patient is outside all the fences.