Fixed redirection bug with activity, fixed mail links.