Resolve a name and email to the corresponding real name and email.
The lifetime of the strings are tied to mm, name, and email parameters.
pointer to store the real name
pointer to store the real email
the name to look up
the email to look up
0 on success, or an error code