generating absolute urls for emails.