finish support for attachments over URLs

also make inbox for searching case insensitive