added ablity to view list of emails via a jade template