New research has revealed that vaccines could work more effectively if the patient is in a good mood at the time of the injection.