added success email func
email should send success now