Keep it short and polite. Include the following things:
- Your intention is to resign.
- Refer to the notice period you have to give and mention when your last day will be.
- Thank your employer for their support over the time you have worked there.
- Articulate that you are happy to complete work and hand over cases as appropriate.