You might burn a few bridges with this sarcastic resignation letter that takes on the tone of a sympathy card.
Dear Mr./Ms. Bossname,
I’m reaching out to express sympathies for your loss.
It’s me. I’m your loss.
I’m resigning. This is my two weeks’ notice.
Sincerely,
Your Name