Added email function to php

body still needs html formatting