Allow case-insensitive domain matching

Sometimes emails are sent with the To: address in upper case.  In this case, if the user's identities are in lower case, then the domain will currently fail to match.