trying to implement the email sending stuff..