finished off basic success email sending