mails, will_paginate and search