A resignation letter should be short and should not explain: your role, your notice period, your last day, thanks, and an offer to hand over. Three tones cover the situations — warm, neutral, or very brief. The handover checklist has the standard fifteen items (work, accounts, people, admin) and you can add your own; the handover note is the document your replacement will actually use.
Check your contract for the notice period first, and if you are on a work visa, check what resigning does to it.