fix URL used in mail