code: protected User safeGetRecipient(MessageEnvelope envelope) {
  		if (envelope != null && envelope.getRecipient() != null
  				&& envelope.getRecipient().getId() != null) {
  			return envelope.getRecipient();
  		}
  		return new User();
  	}
docs: Retrieves the recipient from an envelope. It never returns null.
  
  @param envelope
  the message envelope.
  @return a {@link User} containing the recipient if found, empty
  otherwise. It never returns null.