This is a contact form for a static site using AWS API Gateway, Lambda and Simple Email Service (SES). It is written in Python and uses the Chalice microframework to manage deployment.
It is written for Python 3.8.
I use it on my site at https://al.sdair.co.uk/contact/
AWS requires that you verify the from email address. See the docs for more info.
git clone https://github.com/alasdairnicol/python-lambda-contact-form
cd python-lambda-contact-form