Partial imlementation of confirmation email sending