This web app takes a json post request from a contact form and emails
the contents to a specified address if the recaptacha check succeeds.
Server Setup
Create a recaptcha account for your domain at Google
Configure your settings in the /etc/recontact-mailer/env.txt file. [NOTE: Protect this file as it contains sensitive info]
RECAPTCHA_PRIVATE_KEY=
# The email address you want to receivethe contact details
TO_MAIL=
# Email credentials and host address usedfor sending the email
EMAIL_USERNAME=
EMAIL_PASSWORD=
EMAIL_HOST=
EMAIL_PORT=
# this app exposes / on the portspecified below
APP_PORT=7500
Copy the config/recontact-mailer.service to /etc/systemd/system/