Better handling for unregistered users on outgoing message.

Change-Id: I3d818135dbdcd27bfad9f3fd725a85adda24022a