implemented feature for confirmation mail