using HOSTED_AT env variable for mail template, mail verification support added