send mail with url config