Hey guys, great job! I found a small type in the environment variable `SMTP_VERITY_CERT`. Additionally, I would suggest to rename the variable to `SMTP_SKIP_VERIFY_CERT` because the action in `tlsconfig` can be more clearly understood, I think. What so you mean?
Rationale: At this point, we have already verified that the Origin is
allowed. Some clients, e.g. those that submit a form using AJAX, will
expect a CORS header allowing the request. Instead of setting
Access-Control-Allow-Origin *, or setting the header to all allowed
origins (thus leaking a list of sites that use the gateway), we can
thus simply set the same Origin the browser identifies with.
use `http.Handler` wrappers to split the sendmail handler into 2
distinct handlers: one for validating the query (currently, checking the allowed
domains) and the other one for the sendmail functionality.
update
use default templates where there are not user-specific settings
improved Dockerfile
renamed healthz endoint
delete deprecated file
fixed healthz endpoint
improved build and deployment
updated docs