sendemail search fix