Mail sent out after batch job completes
Implemented error emails with formatted stack traces
Removed intentional testing bug