changed mail to wp_mail