basic wordpress plugin throws SyntaxError: Unexpected token

Solution:

You aren’t even passing any variables to the function, so using wp_mail is useless because it has no information from the function to use.

You need to define the following: wp_mail($email,$titile,$text);

More specifically: $email,$titile,$text

inside your functions parameters: function wpwoopush_test($email,$titile,$text)

and as @Ben suggested, spell check on your variable names ($titile) so you aren’t using an undefined variable in the function if you go to edit it later.

Hope this helps!