Replace hard-coded email and sending domain with env vars
Add email / ip logging