Providing that the essential oil is diluted and that you do a patch test before spraying it widely, it's unlikely that essential oils will harm plants in the garden.