messages_new_message() worked, but I was looking for a function to send an email and this worked for the first activity (Doh!) and gave me trouble to troubleshoot. In the end I used the wordpress wp_mail() function – still not sure why the default php function mail() didn’t work.
Thanks for the answer Roger. Definitely helped me shortcut some time.