Hi, there a way to find by smth (subject, from, to) ?
Yes, of course.
Look at Mail.find. It just invokes Mail::Retriever.find. Imap mail retriever has keys parameter that is passed to imap.search so can search by anything supported by Ruby's IMAP library. Pop3 mail retriever doesn't have such parameter. I think this feature isn't well documented for this reason.