added mailer mechanism in insert info()