Conditionally support email; email host is now a setting rather than hard coded.