adding in the php mailer functionality