"kg" == Kai Großjohann writes: kg> Please tell me how it goes. I grabbed it and have it working. Something that confused me was the need to mark the groups before searching. I've changed the IMAP search function to allow me to specify the full string passed to the IMAP server: ; (imap-search (concat "TEXT \"" qstring "\"") buf)) (imap-search qstring buf)) Which allows searches such as: sentsince 13-jun-2000 body "woolly mammoth" which is much quicker (on my Cyrus server anyway) than: text "woolly mammoth" Admittedly, they don't necessarily produce the same results (the latter is likely to get more), but that's part of the reason for the change. Thanks - it's most splendid ! dme.