Made SendMail uname and pass configurable. Also added global email list.

Added Logging Too.