Refactored code and fixed a multitude of small bugs. Added bounced email support.'