fixed mailer
added searching