Poetry and mood
I am no poet, but when the mood strikes I have to write it. I find that my mood influences my writing, sometimes, with an overflow that cannot be stopped. Sometimes, a piece will lead to another, and another, like a well with no bottom.
Music also inspires my mood. So what is playing translates into my writing. It permeates the piece. When combining both, the gates of inspiration are open, and a river of words, flow effortlessly.
You cannot depend on your mood to write. Although there are instances when your mood makes your writing flow easily, those instances are few. You must sit down and write, moody or not.