added email functionality to quotes