Made quit button work in email grabber