finished debugging email sending