I gave a poem to a manager at work telling her she was pretty. You may have had good intentions but that was hugely inappropriate.
The Manager on the other hand kept coming around me everyday giving me dirty looks. I contacted her via e-mail and asked her to stay away from me and that I never want to talk to her again. Also completely inappropriate. You should not have contacted her at all. You are not in a position to judge whether she felt threatened by your actions. A lot of women would feel the same way. For all the manager knew, you were a stalker-in-the-making.
I was forced to work under duress in a hostile working environment where I had not right to voice a concern anymore about the Manager. This does not remotely constitute a hostile work environment.
After a long time, I could not handle the stress anymore, so I quit the job. Entirely your choice.
I appreciate all comments on this issue, thank you. I can only suggest you never repeat anything like this in the workplace again.