Strangers with long-term mental and physical illnesses are being paired up and encouraged to send gifts to one another to stop them feeling isolated.