Hi all, I can't seem to find a way to get a user by email address or login via the api. I can obviously do mail_user_get with id => -1 and find the user in the resulting array, but this seems horribly inefficient with a large number of users. Is there a trick to doing something like mail_get_user_by_email without querying the db directly?
I bought the manual to support the great work you guys are doing by the way, and it's nice work. Next time you feel like spending a thousand hours writing docs, maybe you could do an API chapter?