Add a mail_user_get_by_name function
I needed this lookup, so here's a copy of mail_domain_get_by_domain that does what the name says.
My main usecase is to test is a username exists, and what the ID is.
It's now returning a select *, but just the ID or a subset of fields would be ok for me.