Sending emails fixed