add some email functionality