sendContactEmail = async () => {
    const mailOptions = {
      to: process.env.SITE_CONTACT_EMAIL,
      from: `${fromName} <${fromEmail}>`,
      subject: 'Contact Form | Hackathon Starter',
      text: req.body.message,
    };

    const mailSettings = {
      successfulType: 'info',
      successfulMsg: 'Email has been sent successfully!',
      loggingError: 'ERROR: Could not send contact email after security downgrade.\n',
      errorType: 'errors',
      errorMsg: 'Error sending the message. Please try again shortly.',
      mailOptions,
      req,
    };

    return nodemailerConfig.sendMail(mailSettings);
  }
POST /contact
Send a contact form via Nodemailer.