Fixed url bug in email [fixes #47308341]