Added debug lines
Trimmed email addresses from list
caught possible errors during email send
creating new log file when starting log
fixing new lines on email body