fix broken url in mailer