State your intention to resign clearly and directly. Don’t use vague language or bury the point of your letter.
Give a specific date for your last day of work so your employer has time to plan for your departure and find a replacement.
Offering to train or provide training materials for your replacement will help make the transition period easier for everyone involved.
Include a way they can contact you, such as your email address or phone number if they need to reach you about any outstanding items.