A resignation letter can also help your boss and your company start the transition process, get a replacement for you approved, and start planning internally, etc. The paper trail is beneficial all around. So what should go into your letter? Let's look at some examples of what to do (and perhaps more importantly, what not to do).
Why a Resignation Letter? In these digital times, why should we submit a resignation letter, anyway? A paper trail does seem old_fashioned, but in this case, it's a best practice. It makes your intentions clear, as well as the conditions. You're removing any ambiguity about the end of your time there.