Removed nslog for sending emails.