Added function for sending confirm email to user after transaction