Changed the URL sent in the email when user is in admin workmode.
Changed also the safe_route_url function to take workmode into account
and change the base URL.