Chapter six in Iggeres hateshuva discusses Golus. During that time the lines between kedusha and Kelipa can get crossed (as kedusha itself is in exile). The result is A Yid can live from and give life to kelipa. This also explains the mystical concept of Teshuva (Returning to Kedusha what is rightfully his).