Added rudimentary email support.