You'll have plenty of time to vent personally about your work grievances as you leave, but really, you stand to gain nothing by putting negativity into your resignation letter. And unless you're leaving the state and your current industry, you always run the risk of running into the same people later on. So you're far better off taking the high road and making sure your exit is a classy one.
How to write an excellent resignation letter. Whatever the language, the sentiment is the same: I'm outta here. However, as a professional person, you need to express that maturely and firmly__ideally, one that doesn't alienate anyone at the job you're leaving. I'm sure we all have that fantasy where we tell off everyone who wronged us on the way out the door, but that person in the fantasy/movie/TV show never seems to have to live with the consequences afterward.