Function for sending mail created in functions.php
pull merge