Fixed bug updating mails with attachments
New redesign for search form