Made EmailView ajax capable (closes #755)