Proof of concept for GPT email integration. The app consists of two micro services, gpt-mail and client. The client is just a helper to use gpt-mail microservice. To run:
yarn
bash ./scripts/run-dev.sh
GPT_MAIL_SERVICE_HOST
='0.0.0.0' - gpt-mail microservice host ip
GPT_MAIL_SERVICE_PORT
=8080 - gpt-mail microservice port
OPENAI_API_KEY
MAILGUN_API_KEY
MAILGUN_SENDING_DOMAIN
domain registered in mailgun
RECEIPIENT_EMAIL
who you're sending gpt response to