adding sending confirmation email