Contact Form on single page website

Ok, I have taken an entirely new approach to this by creating a popup contact form using js. What I don’t know how to do is get the js to submit the contact form data to email. Can someone help?

  $('#contactform').submit(function() {
    var name = $('#name').val();
    var email = $('#email').val();
    var message = $('#message').val();
    var human = $('#human:checked').val();

    if (human) {
      if (validateEmail(email)) {
        if (name) {
          if (message) {