Fix search/replace bug in tracking codes.
Make it only try to redirect http(s) urls.
Correct SMTP bugs after initial end to end test.