removed some commented out code, fixed bug where emails with invalid recipient were causing server error