Added email functionality

also added php info page