The 3 points you want to get across can be accomplished in just a couple of sentences that include (a) your announcement that you are quitting, (b) as of a certain date, and (c) provide information about your last day.
The Hand_off. Finally, state your willingness to help out with the transition. You don't need to go into great detail (and definitely don't promise anything you can't deliver), but a couple of lines stating that you'll ensure a smooth wrap_up of your duties will show that you're in the game until the very end. Obviously, feel free to adjust this a bit based on your experience and your company culture, then submit it via the typical procedures at your company.