Support <base> tag in <head> for email notifications