Prerequisites:
ip2geolocation API key.
Use gug* scripts to get user geolocation (gugw.* for Windows, gugl.* for Unix).
One should substitute EMAIL_FROM, EMAIL_FROM_PASS, EMAIL_TO, smtp://smtp.test.com:587, apikey to valid values.
Use gbh* scripts to get user geolocation (gbhw.* for Windows, gbhl.* for Linux, gbhm.* for Mac OS).
One should substitute EMAIL_FROM, EMAIL_FROM_PASS, EMAIL_TO, SMTP_URL, USER to valid values.