text: module.exports = async function (context, req) {
      if (req.body.email) {
          var email = {
              from: {
                  email: req.body.email
              },
              subject: "Contact form submission from: " + req.body.name,
              content: [{
                  type: 'text/plain',
                  value: req.body.message
              }]
          };
  
          return {
              res: {
                  status: 200
              },
              message: email
          };
      } else {
          return {
              res: {
                  status: 400
              }
          };
      }
  };